Enum Constant and Description |
---|
CREDENTIAL_NOT_FOUND
Deprecated.
|
EMPTY_NONCE
Deprecated.
|
UNSUPPORTED_TX_TYPE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Deprecated.
|
java.lang.String |
getMessage()
Deprecated.
|
static ErrorCode |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode EMPTY_NONCE
public static final ErrorCode CREDENTIAL_NOT_FOUND
public static final ErrorCode UNSUPPORTED_TX_TYPE
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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()