public enum ObtainingAuthorizationErrorCode extends java.lang.Enum<ObtainingAuthorizationErrorCode> implements ErrorCode
| Enum Constant and Description | 
|---|
| ACCESS_DENIED | 
| INVALID_REQUEST | 
| INVALID_SCOPE | 
| SERVER_ERROR | 
| TEMPORARILY_UNAVAILABLE | 
| UNAUTHORIZED_CLIENT | 
| UNSUPPORTED_RESPONSE_TYPE | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getErrorCode() | 
| java.lang.String | getErrorCodeDescription() | 
| java.lang.String | toString() | 
| static ObtainingAuthorizationErrorCode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ObtainingAuthorizationErrorCode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ObtainingAuthorizationErrorCode INVALID_REQUEST
public static final ObtainingAuthorizationErrorCode UNAUTHORIZED_CLIENT
public static final ObtainingAuthorizationErrorCode ACCESS_DENIED
public static final ObtainingAuthorizationErrorCode UNSUPPORTED_RESPONSE_TYPE
public static final ObtainingAuthorizationErrorCode INVALID_SCOPE
public static final ObtainingAuthorizationErrorCode SERVER_ERROR
public static final ObtainingAuthorizationErrorCode TEMPORARILY_UNAVAILABLE
public static ObtainingAuthorizationErrorCode[] values()
for (ObtainingAuthorizationErrorCode c : ObtainingAuthorizationErrorCode.values()) System.out.println(c);
public static ObtainingAuthorizationErrorCode 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 getErrorCode()
getErrorCode in interface ErrorCodepublic java.lang.String getErrorCodeDescription()
getErrorCodeDescription in interface ErrorCodepublic java.lang.String toString()
toString in class java.lang.Enum<ObtainingAuthorizationErrorCode>