|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EDAMErrorCode>
com.evernote.edam.error.EDAMErrorCode
public enum EDAMErrorCode
Numeric codes indicating the type of error that occurred on the service.
Enum Constant Summary | |
---|---|
AUTH_EXPIRED
|
|
BAD_DATA_FORMAT
|
|
DATA_CONFLICT
|
|
DATA_REQUIRED
|
|
ENML_VALIDATION
|
|
INTERNAL_ERROR
|
|
INVALID_AUTH
|
|
LIMIT_REACHED
|
|
PERMISSION_DENIED
|
|
QUOTA_REACHED
|
|
SHARD_UNAVAILABLE
|
|
UNKNOWN
|
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 |
---|
clone, compareTo, equals, finalize, 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
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 org.apache.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 |