Package com.unblu.sdk.core.errortype
Enum UnbluClientErrorType
- java.lang.Object
-
- java.lang.Enum<UnbluClientErrorType>
-
- com.unblu.sdk.core.errortype.UnbluClientErrorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnbluClientErrorType>
public enum UnbluClientErrorType extends java.lang.Enum<UnbluClientErrorType>
Errors which can occur during interaction with the UnbluClient Created by Denis on 03.06.2017.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION
Thrown if there is an authentication issue while communicating with the Unblu collaboration serverAUTHORIZATION
Thrown if there is an authorization issue while communicating with the Unblu collaboration serverDISABLED
Error given if the mobile sdk module is disabled in the server configurationEXECUTION
Thrown if there was a business error during executionINTERNAL
General internal error of the UnbluClientINVALID_FUNCTION_ARGS
Internal error which prevents the Unblu SDK to communicate with the Unblu collaboration serverINVALID_URL
If the url which is used to connect to the Unblu collaboration server is invalidMISSING_API_KEY
Occurs if the API key does not exist on the Unblu collaboration serverSERVER_UNREACHABLE
Error thrown if the Unblu collaboration server could not be reachedUNKNOWN_FUNCTION
Internal error which prevents the Unblu SDK to communicate with the Unblu collaboration serverUNSUPPORTED_VERSION
Occurs if the mobile SDK version is not compatible with the version of the Unblu collaboration server
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnbluClientErrorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnbluClientErrorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL
public static final UnbluClientErrorType INTERNAL
General internal error of the UnbluClient
-
SERVER_UNREACHABLE
public static final UnbluClientErrorType SERVER_UNREACHABLE
Error thrown if the Unblu collaboration server could not be reached
-
DISABLED
public static final UnbluClientErrorType DISABLED
Error given if the mobile sdk module is disabled in the server configuration
-
UNKNOWN_FUNCTION
public static final UnbluClientErrorType UNKNOWN_FUNCTION
Internal error which prevents the Unblu SDK to communicate with the Unblu collaboration server
-
INVALID_FUNCTION_ARGS
public static final UnbluClientErrorType INVALID_FUNCTION_ARGS
Internal error which prevents the Unblu SDK to communicate with the Unblu collaboration server
-
MISSING_API_KEY
public static final UnbluClientErrorType MISSING_API_KEY
Occurs if the API key does not exist on the Unblu collaboration server
-
UNSUPPORTED_VERSION
public static final UnbluClientErrorType UNSUPPORTED_VERSION
Occurs if the mobile SDK version is not compatible with the version of the Unblu collaboration server
-
INVALID_URL
public static final UnbluClientErrorType INVALID_URL
If the url which is used to connect to the Unblu collaboration server is invalid
-
AUTHENTICATION
public static final UnbluClientErrorType AUTHENTICATION
Thrown if there is an authentication issue while communicating with the Unblu collaboration server
-
AUTHORIZATION
public static final UnbluClientErrorType AUTHORIZATION
Thrown if there is an authorization issue while communicating with the Unblu collaboration server
-
EXECUTION
public static final UnbluClientErrorType EXECUTION
Thrown if there was a business error during execution
-
-
Method Detail
-
values
public static UnbluClientErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UnbluClientErrorType c : UnbluClientErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnbluClientErrorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-