public enum UnbluApiErrorType extends java.lang.Enum<UnbluApiErrorType>
Enum Constant and Description |
---|
AUTHENTICATION
Thrown if there is an authentication issue while communicating with the unblu server
|
AUTHORIZATION
Thrown if there is an authorization issue while communicating with the unblu server
|
DISABLED
Error given if the mobile sdk module is disabled in the server configuration
|
EXECUTION
Thrown if there was a business error during execution
|
INTERNAL
General internal error of the unblu API
|
INVALID_FUNCTION_ARGS
Internal error which prevents the mobile API to communicate with the unblu server
|
INVALID_URL
If the url which is used to connect to the unblu server is invalid
|
MISSING_API_KEY
Occurs if the api key is missing in the context of the communicate with the unblu server
|
SERVER_UNREACHABLE
Error thrown if the unblu server could not be reached
|
UNKNOWN_FUNCTION
Internal error which prevents the mobile API to communicate with the unblu server
|
UNSUPPORTED_VERSION
Occurs if the mobile SDK version is not compatible with the version of the unblu server
|
Modifier and Type | Method and Description |
---|---|
static UnbluApiErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnbluApiErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnbluApiErrorType INTERNAL
public static final UnbluApiErrorType SERVER_UNREACHABLE
public static final UnbluApiErrorType DISABLED
public static final UnbluApiErrorType UNKNOWN_FUNCTION
public static final UnbluApiErrorType INVALID_FUNCTION_ARGS
public static final UnbluApiErrorType MISSING_API_KEY
public static final UnbluApiErrorType UNSUPPORTED_VERSION
public static final UnbluApiErrorType INVALID_URL
public static final UnbluApiErrorType AUTHENTICATION
public static final UnbluApiErrorType AUTHORIZATION
public static final UnbluApiErrorType EXECUTION
public static UnbluApiErrorType[] values()
for (UnbluApiErrorType c : UnbluApiErrorType.values()) System.out.println(c);
public static UnbluApiErrorType 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 null