public static enum AccountKitError.Type extends java.lang.Enum<AccountKitError.Type>
Enum Constant and Description |
---|
ARGUMENT_ERROR |
INITIALIZATION_ERROR |
INTERNAL_ERROR |
LOGIN_INVALIDATED |
NETWORK_CONNECTION_ERROR |
SERVER_ERROR |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static AccountKitError.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountKitError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountKitError.Type NETWORK_CONNECTION_ERROR
public static final AccountKitError.Type SERVER_ERROR
public static final AccountKitError.Type LOGIN_INVALIDATED
public static final AccountKitError.Type INTERNAL_ERROR
public static final AccountKitError.Type INITIALIZATION_ERROR
public static final AccountKitError.Type ARGUMENT_ERROR
public static AccountKitError.Type[] values()
for (AccountKitError.Type c : AccountKitError.Type.values()) System.out.println(c);
public static AccountKitError.Type 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 nullpublic java.lang.String getMessage()
public int getCode()
public java.lang.String toString()
toString
in class java.lang.Enum<AccountKitError.Type>