Enum EncodingError

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

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

      • ERR_TOO_BIG_WIDE_CHAR_VALUE

        public static final EncodingError ERR_TOO_BIG_WIDE_CHAR_VALUE
      • ERR_TOO_LONG_WIDE_CHAR_VALUE

        public static final EncodingError ERR_TOO_LONG_WIDE_CHAR_VALUE
      • ERR_INVALID_CHAR_PROPERTY_NAME

        public static final EncodingError ERR_INVALID_CHAR_PROPERTY_NAME
      • ERR_INVALID_CODE_POINT_VALUE

        public static final EncodingError ERR_INVALID_CODE_POINT_VALUE
      • ERR_ENCODING_CLASS_DEF_NOT_FOUND

        public static final EncodingError ERR_ENCODING_CLASS_DEF_NOT_FOUND
      • ERR_ENCODING_LOAD_ERROR

        public static final EncodingError ERR_ENCODING_LOAD_ERROR
      • ERR_ENCODING_ALREADY_REGISTERED

        public static final EncodingError ERR_ENCODING_ALREADY_REGISTERED
      • ERR_ENCODING_ALIAS_ALREADY_REGISTERED

        public static final EncodingError ERR_ENCODING_ALIAS_ALREADY_REGISTERED
      • ERR_ENCODING_REPLICA_ALREADY_REGISTERED

        public static final EncodingError ERR_ENCODING_REPLICA_ALREADY_REGISTERED
      • ERR_NO_SUCH_ENCODNG

        public static final EncodingError ERR_NO_SUCH_ENCODNG
      • ERR_COULD_NOT_REPLICATE

        public static final EncodingError ERR_COULD_NOT_REPLICATE
      • ERR_TRANSCODER_ALREADY_REGISTERED

        public static final EncodingError ERR_TRANSCODER_ALREADY_REGISTERED
      • ERR_TRANSCODER_CLASS_DEF_NOT_FOUND

        public static final EncodingError ERR_TRANSCODER_CLASS_DEF_NOT_FOUND
      • ERR_TRANSCODER_LOAD_ERROR

        public static final EncodingError ERR_TRANSCODER_LOAD_ERROR
    • Field Detail

      • message

        private final java.lang.String message
      • code

        private final int code
    • Constructor Detail

      • EncodingError

        private EncodingError​(java.lang.String message,
                              int code)
    • Method Detail

      • values

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

        public static EncodingError 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
      • getMessage

        public java.lang.String getMessage()
      • getCode

        public int getCode()