|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EDAMErrorCode> com.evernote.edam.error.EDAMErrorCode
public enum EDAMErrorCode
Numeric codes indicating the type of error that occurred on the service.
Method Summary | |
---|---|
static EDAMErrorCode |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static EDAMErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EDAMErrorCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EDAMErrorCode UNKNOWN
public static final EDAMErrorCode BAD_DATA_FORMAT
public static final EDAMErrorCode PERMISSION_DENIED
public static final EDAMErrorCode INTERNAL_ERROR
public static final EDAMErrorCode DATA_REQUIRED
public static final EDAMErrorCode LIMIT_REACHED
public static final EDAMErrorCode QUOTA_REACHED
public static final EDAMErrorCode INVALID_AUTH
public static final EDAMErrorCode AUTH_EXPIRED
public static final EDAMErrorCode DATA_CONFLICT
public static final EDAMErrorCode ENML_VALIDATION
public static final EDAMErrorCode SHARD_UNAVAILABLE
public static final EDAMErrorCode LEN_TOO_SHORT
public static final EDAMErrorCode LEN_TOO_LONG
public static final EDAMErrorCode TOO_FEW
public static final EDAMErrorCode TOO_MANY
public static final EDAMErrorCode UNSUPPORTED_OPERATION
public static final EDAMErrorCode TAKEN_DOWN
public static final EDAMErrorCode RATE_LIMIT_REACHED
Method Detail |
---|
public static EDAMErrorCode[] values()
for (EDAMErrorCode c : EDAMErrorCode.values()) System.out.println(c);
public static EDAMErrorCode 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface com.evernote.thrift.TEnum
public static EDAMErrorCode findByValue(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |