public enum AuthAdapterErrorCode extends Enum<AuthAdapterErrorCode>
| Enum Constant and Description |
|---|
CONNECT_EXCEPTION
FORBIDDEN
|
FORBIDDEN
FORBIDDEN
|
RESPONSE_PARSE_ERROR
RESPONSE_PARSE_ERROR
|
UNAUTHORIZED
UNAUTHORIZED
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Function to get error code
|
String |
getErrorMessage()
Function to get the error message
|
static AuthAdapterErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthAdapterErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthAdapterErrorCode UNAUTHORIZED
public static final AuthAdapterErrorCode FORBIDDEN
public static final AuthAdapterErrorCode CONNECT_EXCEPTION
public static final AuthAdapterErrorCode RESPONSE_PARSE_ERROR
public static AuthAdapterErrorCode[] values()
for (AuthAdapterErrorCode c : AuthAdapterErrorCode.values()) System.out.println(c);
public static AuthAdapterErrorCode 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 nullpublic String getErrorMessage()
errorMessagerCopyright © 2020. All rights reserved.