Package com.unblu.sdk.core.errortype
Enum Class UnbluClientErrorType
- All Implemented Interfaces:
Serializable
,Comparable<UnbluClientErrorType>
,Constable
Enum representing different types of errors that can occur within the UnbluClient.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionError thrown if there's an authentication issue while communicating with the Unblu Collaboration Server.Error thrown if there's an authorization issue while communicating with the Unblu Collaboration Server.Error thrown if the mobile SDK module is disabled in the Unblu server configuration.Error thrown if a business error occurred during execution.General internal error of the UnbluClient.Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration Server due to invalid function arguments.Error thrown if the URL used to connect to the Unblu Collaboration Server is invalid.Error thrown if the API key doesn't exist on the Unblu Collaboration Server.Error thrown if the Unblu Collaboration Server is unreachable.Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration Server.Error thrown if the version of the mobile SDK isn't compatible with the version of the Unblu Collaboration Server. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the description of the error.static UnbluClientErrorType
Returns the enum constant of this class with the specified name.static UnbluClientErrorType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERNAL
General internal error of the UnbluClient. -
SERVER_UNREACHABLE
Error thrown if the Unblu Collaboration Server is unreachable. -
DISABLED
Error thrown if the mobile SDK module is disabled in the Unblu server configuration. -
UNKNOWN_FUNCTION
Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration Server. -
INVALID_FUNCTION_ARGS
Internal error that prevents the Unblu SDK from communicating with the Unblu Collaboration Server due to invalid function arguments. -
MISSING_API_KEY
Error thrown if the API key doesn't exist on the Unblu Collaboration Server. -
UNSUPPORTED_VERSION
Error thrown if the version of the mobile SDK isn't compatible with the version of the Unblu Collaboration Server. -
INVALID_URL
Error thrown if the URL used to connect to the Unblu Collaboration Server is invalid. -
AUTHENTICATION
Error thrown if there's an authentication issue while communicating with the Unblu Collaboration Server. -
AUTHORIZATION
Error thrown if there's an authorization issue while communicating with the Unblu Collaboration Server. -
EXECUTION
Error thrown if a business error occurred during execution.
-
-
Method Details
-
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 nameNullPointerException
- if the argument is null
-
getErrorDescription
Retrieves the description of the error.- Returns:
- The error description.
-