Enum ChatLog.Error

    • Enum Constant Detail

      • UPLOAD_SIZE_ERROR

        public static final ChatLog.Error UPLOAD_SIZE_ERROR
      • UPLOAD_FILE_EXTENSION_ERROR

        public static final ChatLog.Error UPLOAD_FILE_EXTENSION_ERROR
      • UPLOAD_FAILED_ERROR

        public static final ChatLog.Error UPLOAD_FAILED_ERROR
    • Method Detail

      • values

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

        public static ChatLog.Error 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
      • getValue

        public java.lang.String getValue()
        Gets the value of this error type enum
        Returns:
        error name for this type
      • getType

        public static ChatLog.Error getType(java.lang.String value)
        Gets the error enum type of the value passed as parameter
        Parameters:
        value - to interpret
        Returns:
        error type or ChatLog.Error.UNKNOWN if not found