- All Implemented Interfaces:
Serializable
,Comparable<MessageKeys>
,java.lang.constant.Constable
Contains all message keys present in language property files.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn exception occurred while adapting object.Adapter for current type has been found.Adapter is incompatible for current type.Target annotation is not visible in modules or classpath.CDI bean manager not found, serializers and adapters will not have CDI support.Bean manager provider not found.Object cannot be serialized.JsonValue
could not be converted to some type.Instance could not be created.Root instance could not be created.Loading of specific class in not allowed.Conversion target type from or to String is not supported.Am error has occurred while creating handles.Creator parameter has to be annotated byJsonbProperty
annotation.An error occurred while DatatypeFactory creation.There has been an error during parsing number.There has been an error during value deserialization.End of the json structure reached.An error occurred while callingJsonbCreator
.Generic bound not found.Could not get field value.Could not get field value with method.Cannot serialize single value due to I-Json support is enabled.Insufficient permissions to access property.Implementation class is not compatible.Return type of theJsonbCreator
has to be the same as target type.Type could not be inferred to deserialization.An internal error has occurred.Json value type could not be deserialized to the target type.There has been an error while invoking getter.JsonbConfig.FORMATTING
supports only Boolean types.Jsonb config property contains invalid type.Json does not contain all necessary properties forJsonbCreator
.JsonbTransient
was not the only annotation on class property.Missing value property in target annotation.More than one constructor annotated withConstructorProperties
declared in target class.Only oneJsonbCreator
can be present in the class.CDI API provider has not been found.CDI environment is not available.Class does not have default constructor.No JNDI provider found.No logger name provided.Target type is notParameterizedType
.Value is not of target type.Target json value is not validJsonNumber
.Target json value is not validJsonNumber
.Parsing offset date from epoch millisecond, UTC zone offset will be used.Number has unsupported format.An error has occurred while json deserialization.An error has occurred while object serialization.Handled property has the same read/write name in target class as some other property present there.Invalid property naming strategy selected.Property not found in target class.Property order strategy not recognized.Class does not have default constructor.Recursive reference detected.ParameterizedType
superclass could not be resolved.There has been an error during property serialization.Property could not be set to target property.Could not set field value.Could not set field value with method.Date
is not supported I-Json is enabled.Target date object could not be converted to or from epoch millis.An error has occurred during runtime type resolution.Unexpected parser event has occurred.Unknown binary data strategy selected.Json property could not be mapped to the target class.Unknown visibility strategy.String contains unpaired surrogate.Data type is not supported.Unsupported Jsonp serializer value.There has been an error during zone deserialization. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Returns message bundle key.static MessageKeys
Returns the enum constant of this type with the specified name.static MessageKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROCESS_FROM_JSON
An error has occurred while json deserialization. -
PROCESS_TO_JSON
An error has occurred while object serialization. -
CANNOT_MARSHAL_OBJECT
Object cannot be serialized. -
TYPE_RESOLUTION_ERROR
An error has occurred during runtime type resolution. -
GENERIC_BOUND_NOT_FOUND
Generic bound not found. -
CANT_CONVERT_JSON_VALUE
JsonValue
could not be converted to some type. -
CANT_CREATE_ROOT_INSTANCE
Root instance could not be created. -
NO_DEFAULT_CONSTRUCTOR
Class does not have default constructor. -
RECORD_MULTIPLE_CONSTRUCTORS
Class does not have default constructor. -
INVOKING_GETTER
There has been an error while invoking getter. -
GETTING_VALUE
Could not get field value. -
SETTING_VALUE
Could not set field value. -
NO_LOGGER_NAME
No logger name provided. -
RESOLVE_PARAMETRIZED_TYPE
ParameterizedType
superclass could not be resolved. -
CANT_CREATE_INSTANCE
Instance could not be created. -
INFER_TYPE_FOR_UNMARSHALL
Type could not be inferred to deserialization. -
IMPL_CLASS_INCOMPATIBLE
Implementation class is not compatible. -
NOT_VALUE_TYPE
Value is not of target type. -
UNEXPECTED_PARSE_EVENT
Unexpected parser event has occurred. -
CREATING_HANDLES
Am error has occurred while creating handles. -
GETTING_VALUE_WITH
Could not get field value with method. -
SETTING_VALUE_WITH
Could not set field value with method. -
UNPAIRED_SURROGATE
String contains unpaired surrogate. -
ADAPTER_EXCEPTION
An exception occurred while adapting object. -
ADAPTER_FOUND
Adapter for current type has been found. -
ADAPTER_INCOMPATIBLE
Adapter is incompatible for current type. -
PROPERTY_ORDER
Property order strategy not recognized. -
UNSUPPORTED_JSONP_SERIALIZER_VALUE
Unsupported Jsonp serializer value. -
JSONB_CONFIG_FORMATTING_ILLEGAL_VALUE
JsonbConfig.FORMATTING
supports only Boolean types. -
NO_JNDI_ENVIRONMENT
No JNDI provider found. -
NO_CDI_API_PROVIDER
CDI API provider has not been found. -
ILLEGAL_ACCESS
Insufficient permissions to access property. -
BEAN_MANAGER_NOT_FOUND_USING_DEFAULT
CDI bean manager not found, serializers and adapters will not have CDI support. -
NO_CDI_ENVIRONMENT
CDI environment is not available. -
IJSON_ENABLED_SINGLE_VALUE
Cannot serialize single value due to I-Json support is enabled. -
PROPERTY_NOT_FOUND_DESERIALIZER
Property not found in target class. -
SETTING_PROPERTY_DESERIALIZER
Property could not be set to target property. -
CLASS_LOAD_NOT_ALLOWED
Loading of specific class in not allowed. -
UNSUPPORTED_DATE_TYPE
Data type is not supported. -
DATE_PARSE_ERROR
There has been an error during parsing number. -
OFFSET_DATE_TIME_FROM_MILLIS
Parsing offset date from epoch millisecond, UTC zone offset will be used. -
TIME_TO_EPOCH_MILLIS_ERROR
Target date object could not be converted to or from epoch millis. -
JSONB_CONFIG_PROPERTY_INVALID_TYPE
Jsonb config property contains invalid type. -
CONVERSION_NOT_SUPPORTED
Conversion target type from or to String is not supported. -
END_OF_JSON_STRUCTURE
End of the json structure reached. -
INVALID_DESERIALIZATION_JSON_TYPE
Json value type could not be deserialized to the target type. -
ERROR_CALLING_JSONB_CREATOR
An error occurred while callingJsonbCreator
. -
INCOMPATIBLE_FACTORY_CREATOR_RETURN_TYPE
Return type of theJsonbCreator
has to be the same as target type. -
MULTIPLE_JSONB_CREATORS
Only oneJsonbCreator
can be present in the class. -
INTERNAL_ERROR
An internal error has occurred. -
SERIALIZE_PROPERTY_ERROR
There has been an error during property serialization. -
DESERIALIZE_VALUE_ERROR
There has been an error during value deserialization. -
PARSING_NUMBER
Number has unsupported format. -
UNKNOWN_BINARY_DATA_STRATEGY
Unknown binary data strategy selected. -
PROPERTY_NAMING_STRATEGY_INVALID
Invalid property naming strategy selected. -
CREATOR_PARAMETER_NOT_ANNOTATED
Creator parameter has to be annotated byJsonbProperty
annotation. -
UNKNOWN_JSON_PROPERTY
Json property could not be mapped to the target class. -
JSONB_CREATOR_MISSING_PROPERTY
Json does not contain all necessary properties forJsonbCreator
. -
ZONE_PARSE_ERROR
There has been an error during zone deserialization. -
JSONB_TRANSIENT_WITH_OTHER_ANNOTATIONS
JsonbTransient
was not the only annotation on class property. -
NON_PARAMETRIZED_TYPE
Target type is notParameterizedType
. -
PROPERTY_NAME_CLASH
Handled property has the same read/write name in target class as some other property present there. -
SQL_DATE_IJSON_ERROR
Date
is not supported I-Json is enabled. -
RECURSIVE_REFERENCE
Recursive reference detected. -
DATATYPE_FACTORY_CREATION_FAILED
An error occurred while DatatypeFactory creation. -
BEAN_MANAGER_PROVIDER_NOT_FOUND
Bean manager provider not found. -
MULTIPLE_CONSTRUCTOR_PROPERTIES_CREATORS
More than one constructor annotated withConstructorProperties
declared in target class. -
ANNOTATION_NOT_AVAILABLE
Target annotation is not visible in modules or classpath. -
MISSING_VALUE_PROPERTY_IN_ANNOTATION
Missing value property in target annotation. -
NUMBER_INCOMPATIBLE_VALUE_TYPE_ARRAY
Target json value is not validJsonNumber
. -
NUMBER_INCOMPATIBLE_VALUE_TYPE_OBJECT
Target json value is not validJsonNumber
. -
UNKNOWN_VISIBILITY_STRATEGY
Unknown visibility strategy.
-
-
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
-
getKey
Returns message bundle key.- Returns:
- message bundle key
-