public static enum Error.Type extends Enum<Error.Type>
Enum Constant and Description |
---|
NETWORK_ERROR
An error communicating with the server.
|
SDK_ERROR
An error generated by the SDK.
|
SERVER_ERROR
An error generated by the server while processing the request.
|
Modifier and Type | Method and Description |
---|---|
static Error.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Error.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error.Type NETWORK_ERROR
public static final Error.Type SDK_ERROR
public static final Error.Type SERVER_ERROR
public static Error.Type[] values()
for (Error.Type c : Error.Type.values()) System.out.println(c);
public static Error.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013-2016 INRIX, Inc. All Rights Reserved.