Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
static ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode ERROR_UNKNOWN
public static final ErrorCode ERROR_BAD_REQUEST
public static final ErrorCode ERROR_ACCESS_DENIED
public static final ErrorCode ERROR_PARAM_INVALID_API_KEY
public static final ErrorCode ERROR_PARAM_INVALID_LOCALE
public static final ErrorCode ERROR_REQUEST_LIMIT_REACHED
public static final ErrorCode ERROR_UNSUPPORTED
public static final ErrorCode ERROR_PARAM_INVALID_CALLBACK
public static final ErrorCode ERROR_PARAM_INVALID_FILTER_ATTRIBUTE
public static final ErrorCode ERROR_PARAM_INVALID_INCLUDED
public static final ErrorCode ERROR_PARAM_INVALID_LIMIT
public static final ErrorCode ERROR_PARAM_INVALID_OFFSET
public static final ErrorCode ERROR_PARAM_INVALID_SEARCH_ATTRIBUTE
public static final ErrorCode ERROR_PARAM_INVALID_SORT_ATTRIBUTE
public static final ErrorCode ERROR_DUPLICATE_SUBMISSION
public static final ErrorCode ERROR_PARAM_INVALID_PARAMETERS
public static final ErrorCode ERROR_PARAM_MISSING_USER_ID
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 getCode()