Package jsonvalues.spec
Enum ERROR_CODE
- All Implemented Interfaces:
Serializable
,Comparable<ERROR_CODE>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ERROR_CODE
Returns the enum constant of this type with the specified name.static ERROR_CODE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRING_EXPECTED
-
STRING_CONDITION
-
INT_EXPECTED
-
BINARY_EXPECTED
-
INSTANT_EXPECTED
-
INT_CONDITION
-
LONG_EXPECTED
-
LONG_CONDITION
-
BOOLEAN_EXPECTED
-
BOOLEAN_CONDITION
-
INTEGRAL_EXPECTED
-
INTEGRAL_CONDITION
-
DECIMAL_EXPECTED
-
DECIMAL_CONDITION
-
TRUE_EXPECTED
-
FALSE_EXPECTED
-
OBJ_EXPECTED
-
OBJ_CONDITION
-
BINARY_CONDITION
-
ARRAY_EXPECTED
-
ARRAY_CONDITION
-
NUMBER_EXPECTED
-
NUMBER_CONDITION
-
INSTANT_CONDITION
-
NULL
-
NULL_EXPECTED
-
REQUIRED
-
VALUE_CONDITION
-
SPEC_MISSING
-
CONSTANT_CONDITION
-
ARR_SIZE_LOWER_THAN_MIN
-
ARR_SIZE_GREATER_THAN_MAX
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-