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 that can occur when your app interacts with the UnbluClient
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION
Error thrown if there's an authentication issue while communicating with the Unblu Collaboration ServerAUTHORIZATION
Error thrown if there's an authorization issue while communicating with the Unblu Collaboration ServerDISABLED
Error thrown if the mobile SDK module is disabled in the Unblu server configurationEXECUTION
Error thrown if a business error occurred during executionINTERNAL
General internal error of the UnbluClientINVALID_FUNCTION_ARGS
Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration ServerINVALID_URL
Errror thrown if the URL used to connect to the Unblu Collaboration Server is invalidMISSING_API_KEY
Error thrown if the API key doesn't exist on the Unblu Collaboration ServerSERVER_UNREACHABLE
Error thrown if the Unblu Collaboration Server is unreachableUNKNOWN_FUNCTION
Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration ServerUNSUPPORTED_VERSION
Error thrown if the version of the mobile SDK isn't 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 is unreachable
-
DISABLED
public static final UnbluClientErrorType DISABLED
Error thrown if the mobile SDK module is disabled in the Unblu server configuration
-
UNKNOWN_FUNCTION
public static final UnbluClientErrorType UNKNOWN_FUNCTION
Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration Server
-
INVALID_FUNCTION_ARGS
public static final UnbluClientErrorType INVALID_FUNCTION_ARGS
Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration Server
-
MISSING_API_KEY
public static final UnbluClientErrorType MISSING_API_KEY
Error thrown if the API key doesn't exist on the Unblu Collaboration Server
-
UNSUPPORTED_VERSION
public static final UnbluClientErrorType UNSUPPORTED_VERSION
Error thrown if the version of the mobile SDK isn't compatible with the version of the Unblu Collaboration Server
-
INVALID_URL
public static final UnbluClientErrorType INVALID_URL
Errror thrown if the URL used to connect to the Unblu Collaboration Server is invalid
-
AUTHENTICATION
public static final UnbluClientErrorType AUTHENTICATION
Error thrown if there's an authentication issue while communicating with the Unblu Collaboration Server
-
AUTHORIZATION
public static final UnbluClientErrorType AUTHORIZATION
Error thrown if there's an authorization issue while communicating with the Unblu Collaboration Server
-
EXECUTION
public static final UnbluClientErrorType EXECUTION
Error thrown if a business error occurred 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
-
-