Enum ErrorId

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ErrorId>

    public enum ErrorId
    extends java.lang.Enum<ErrorId>
    • Enum Constant Detail

      • UNKNOWN

        public static final ErrorId UNKNOWN
      • NO_AUTH

        public static final ErrorId NO_AUTH
      • UNKNOWN_ALIAS

        public static final ErrorId UNKNOWN_ALIAS
      • NO_ACCESS

        public static final ErrorId NO_ACCESS
      • BAD_CMD

        public static final ErrorId BAD_CMD
      • BAD_SIZE

        public static final ErrorId BAD_SIZE
      • BAD_ARGUMENTS

        public static final ErrorId BAD_ARGUMENTS
      • BAD_TYPE

        public static final ErrorId BAD_TYPE
      • ALREADY_REGISTRATION

        public static final ErrorId ALREADY_REGISTRATION
      • BAD_CRYPT_TYPE

        public static final ErrorId BAD_CRYPT_TYPE
      • INNER_EXCEPTION

        public static final ErrorId INNER_EXCEPTION
      • BLOCKED_CLIENT

        public static final ErrorId BLOCKED_CLIENT
      • UNSUPPORTED

        public static final ErrorId UNSUPPORTED
      • STREAM_IS_NOT_WRITABLE

        public static final ErrorId STREAM_IS_NOT_WRITABLE
      • DESERIALIZATION_ERROR

        public static final ErrorId DESERIALIZATION_ERROR
      • TIMEOUT

        public static final ErrorId TIMEOUT
      • MSG_TO_SELF

        public static final ErrorId MSG_TO_SELF
      • CRYPTO

        public static final ErrorId CRYPTO
    • Method Detail

      • values

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

        public static ErrorId 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