Package com.unblu.sdk.core.errortype
Enum Class UnbluJoinConversationErrorType
java.lang.Object
java.lang.Enum<UnbluJoinConversationErrorType>
com.unblu.sdk.core.errortype.UnbluJoinConversationErrorType
- All Implemented Interfaces:
Serializable
,Comparable<UnbluJoinConversationErrorType>
,Constable
Error type thrown when joining a conversation fails.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionError indicating that no such conversation exists when attempting to join.Error indicating that no such invitation ID exists when attempting to start/join the conversation.Error indicating that no such invitation token exists when attempting to start/join the conversation.Error indicating a failure in redeeming a token when attempting to start/join the conversation.Error indicating a failure in renewing a token when attempting to start/join the conversation. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the description of the exception class name.Returns the enum constant of this class with the specified name.static UnbluJoinConversationErrorType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_SUCH_INVITATION_TOKEN_EXCEPTION
Error indicating that no such invitation token exists when attempting to start/join the conversation. -
RENEW_TOKEN_EXCEPTION
Error indicating a failure in renewing a token when attempting to start/join the conversation. -
REDEEM_TOKEN_EXCEPTION
Error indicating a failure in redeeming a token when attempting to start/join the conversation. -
NO_SUCH_INVITATION_ID_EXCEPTION
Error indicating that no such invitation ID exists when attempting to start/join the conversation. -
NO_SUCH_CONVERSATION_EXCEPTION
Error indicating that no such conversation exists when attempting to join. -
UNDEFINED
-
-
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 exception class name.- Returns:
- The error description.
-