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