Enum Class UnbluJoinConversationErrorType

java.lang.Object
java.lang.Enum<UnbluJoinConversationErrorType>
com.unblu.sdk.core.errortype.UnbluJoinConversationErrorType
All Implemented Interfaces:
Serializable, Comparable<UnbluJoinConversationErrorType>, Constable

public enum UnbluJoinConversationErrorType extends Enum<UnbluJoinConversationErrorType>
Error type thrown when joining a conversation fails.
  • Enum Constant Details

    • NO_SUCH_INVITATION_TOKEN_EXCEPTION

      public static final UnbluJoinConversationErrorType NO_SUCH_INVITATION_TOKEN_EXCEPTION
      Error indicating that no such invitation token exists when attempting to start/join the conversation.
    • RENEW_TOKEN_EXCEPTION

      public static final UnbluJoinConversationErrorType RENEW_TOKEN_EXCEPTION
      Error indicating a failure in renewing a token when attempting to start/join the conversation.
    • REDEEM_TOKEN_EXCEPTION

      public static final UnbluJoinConversationErrorType REDEEM_TOKEN_EXCEPTION
      Error indicating a failure in redeeming a token when attempting to start/join the conversation.
    • NO_SUCH_INVITATION_ID_EXCEPTION

      public static final UnbluJoinConversationErrorType NO_SUCH_INVITATION_ID_EXCEPTION
      Error indicating that no such invitation ID exists when attempting to start/join the conversation.
    • NO_SUCH_CONVERSATION_EXCEPTION

      public static final UnbluJoinConversationErrorType NO_SUCH_CONVERSATION_EXCEPTION
      Error indicating that no such conversation exists when attempting to join.
    • UNDEFINED

      public static final UnbluJoinConversationErrorType UNDEFINED
  • Method Details

    • values

      public static UnbluJoinConversationErrorType[] 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

      public static UnbluJoinConversationErrorType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getErrorDescription

      public String getErrorDescription()
      Retrieves the description of the exception class name.
      Returns:
      The error description.