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