com.voximplant.sdk.messaging

Enum MessengerError

  • java.lang.Object
    • java.lang.Enum<MessengerError>
      • com.voximplant.sdk.messaging.MessengerError
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MessengerError>


    public enum MessengerError extends java.lang.Enum<MessengerError>
    Messenger related errors.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      ERROR_1
      Wrong transport message structure
      ERROR_10
      Message does not exists
      ERROR_11
      Message was deleted
      ERROR_12
      ACL error
      ERROR_13
      User already in participant list
      ERROR_14
      No rights to edit user
      ERROR_15
      Public join is not available in this conversation
      ERROR_16
      Conversation was deleted
      ERROR_17
      Conversation is distinct
      ERROR_18
      User validation Error
      ERROR_19
      Lists mismatch
      ERROR_2
      Unknown event name
      ERROR_20
      RESERVED
      ERROR_21
      Range larger than allowed by service
      ERROR_22
      Number of requested objects is larger than allowed by service
      ERROR_23
      Message size so large
      ERROR_24
      Seq is too big
      ERROR_3
      User not auth
      ERROR_30
      IM service not available.
      ERROR_4
      Wrong message structure
      ERROR_5
      Conversation not found or user not in participant list
      ERROR_500
      Internal error
      ERROR_6
      Conversation not found or user can't moderate conversation
      ERROR_7
      Conversation already exists
      ERROR_777
      Oops! Something went wrong
      ERROR_8
      Conversation does not exist
      ERROR_9
      Message already exists
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static MessengerError valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MessengerError[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ERROR_1

        public static final MessengerError ERROR_1
        Wrong transport message structure
      • ERROR_2

        public static final MessengerError ERROR_2
        Unknown event name
      • ERROR_4

        public static final MessengerError ERROR_4
        Wrong message structure
      • ERROR_5

        public static final MessengerError ERROR_5
        Conversation not found or user not in participant list
      • ERROR_6

        public static final MessengerError ERROR_6
        Conversation not found or user can't moderate conversation
      • ERROR_7

        public static final MessengerError ERROR_7
        Conversation already exists
      • ERROR_8

        public static final MessengerError ERROR_8
        Conversation does not exist
      • ERROR_9

        public static final MessengerError ERROR_9
        Message already exists
      • ERROR_10

        public static final MessengerError ERROR_10
        Message does not exists
      • ERROR_11

        public static final MessengerError ERROR_11
        Message was deleted
      • ERROR_13

        public static final MessengerError ERROR_13
        User already in participant list
      • ERROR_14

        public static final MessengerError ERROR_14
        No rights to edit user
      • ERROR_15

        public static final MessengerError ERROR_15
        Public join is not available in this conversation
      • ERROR_16

        public static final MessengerError ERROR_16
        Conversation was deleted
      • ERROR_17

        public static final MessengerError ERROR_17
        Conversation is distinct
      • ERROR_18

        public static final MessengerError ERROR_18
        User validation Error
      • ERROR_19

        public static final MessengerError ERROR_19
        Lists mismatch
      • ERROR_21

        public static final MessengerError ERROR_21
        Range larger than allowed by service
      • ERROR_22

        public static final MessengerError ERROR_22
        Number of requested objects is larger than allowed by service
      • ERROR_23

        public static final MessengerError ERROR_23
        Message size so large
      • ERROR_24

        public static final MessengerError ERROR_24
        Seq is too big
      • ERROR_30

        public static final MessengerError ERROR_30
        IM service not available. Try again later
      • ERROR_500

        public static final MessengerError ERROR_500
        Internal error
      • ERROR_777

        public static final MessengerError ERROR_777
        Oops! Something went wrong
    • Method Detail

      • values

        public static MessengerError[] 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 (MessengerError c : MessengerError.values())   System.out.println(c); 
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MessengerError 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 name
        java.lang.NullPointerException - if the argument is null