Enum Constant Summary
Enum Constants
Cannot connect to auth service
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Function to get error code
Function to get the error message
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
COOKIE_NOTPRESENT_ERROR
public static final Errors COOKIE_NOTPRESENT_ERROR
Empty Cookie error
TOKEN_NOTPRESENT_ERROR
public static final Errors TOKEN_NOTPRESENT_ERROR
Empty Cookie error
IO_EXCEPTION
public static final Errors IO_EXCEPTION
IO Exception
CANNOT_CONNECT_TO_AUTH_SERVICE
public static final Errors CANNOT_CONNECT_TO_AUTH_SERVICE
Cannot connect to auth service
RESPONSE_PARSE_ERROR
public static final Errors RESPONSE_PARSE_ERROR
RESPONSE_PARSE_ERROR
ACESSTOKEN_EXCEPTION
public static final Errors ACESSTOKEN_EXCEPTION
STATE_EXCEPTION
public static final Errors STATE_EXCEPTION
REST_EXCEPTION
public static final Errors REST_EXCEPTION
INVALID_TOKEN
public static final Errors INVALID_TOKEN
EXCEPTION
public static final Errors EXCEPTION
ALLOWED_URL_EXCEPTION
public static final Errors ALLOWED_URL_EXCEPTION
STATE_NULL_EXCEPTION
public static final Errors STATE_NULL_EXCEPTION
STATE_NOT_UUID_EXCEPTION
public static final Errors STATE_NOT_UUID_EXCEPTION
UNSUPPORTED_ENCODING_EXCEPTION
public static final Errors UNSUPPORTED_ENCODING_EXCEPTION
JWT_SIGN_EXCEPTION
public static final Errors JWT_SIGN_EXCEPTION
JSON_PROCESSING_EXCEPTION
public static final Errors JSON_PROCESSING_EXCEPTION
Method Details
values
public static Errors [] values ()
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - if the argument is null
getErrorCode
Function to get error code
Returns:
errorCode
getErrorMessage
public String getErrorMessage ()
Function to get the error message
Returns:
errorMessager