public static enum AuthorizationStatus.ErrorCode extends Enum<AuthorizationStatus.ErrorCode>
| Enum Constant and Description |
|---|
ACCESS_DENIED |
INVALID_STATE |
NO_AUTH_CODE |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationStatus.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationStatus.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationStatus.ErrorCode ACCESS_DENIED
public static final AuthorizationStatus.ErrorCode NO_AUTH_CODE
public static final AuthorizationStatus.ErrorCode INVALID_STATE
public static AuthorizationStatus.ErrorCode[] values()
for (AuthorizationStatus.ErrorCode c : AuthorizationStatus.ErrorCode.values()) System.out.println(c);
public static AuthorizationStatus.ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.