public enum TravelerErrorCode extends java.lang.Enum<TravelerErrorCode>
Enum Constant and Description |
---|
NO_DATE |
NO_TIME |
PARSING_ERROR |
SDK_NOT_INITIALIZED |
UNDEFINED_USER |
Modifier and Type | Method and Description |
---|---|
static TravelerErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TravelerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TravelerErrorCode SDK_NOT_INITIALIZED
public static final TravelerErrorCode PARSING_ERROR
public static final TravelerErrorCode NO_DATE
public static final TravelerErrorCode NO_TIME
public static final TravelerErrorCode UNDEFINED_USER
public static TravelerErrorCode[] values()
for (TravelerErrorCode c : TravelerErrorCode.values()) System.out.println(c);
public static TravelerErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null