java.lang.Object
java.lang.Enum<MessageKeys>
org.eclipse.yasson.internal.properties.MessageKeys
All Implemented Interfaces:
Serializable, Comparable<MessageKeys>, java.lang.constant.Constable

public enum MessageKeys extends Enum<MessageKeys>
Contains all message keys present in language property files.
  • Enum Constant Details

    • 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.
    • RECORD_MULTIPLE_CONSTRUCTORS

      public static final MessageKeys RECORD_MULTIPLE_CONSTRUCTORS
      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 calling JsonbCreator.
    • INCOMPATIBLE_FACTORY_CREATOR_RETURN_TYPE

      public static final MessageKeys INCOMPATIBLE_FACTORY_CREATOR_RETURN_TYPE
      Return type of the JsonbCreator has to be the same as target type.
    • MULTIPLE_JSONB_CREATORS

      public static final MessageKeys MULTIPLE_JSONB_CREATORS
      Only one JsonbCreator 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 by JsonbProperty 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 for JsonbCreator.
    • 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 not ParameterizedType.
    • 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 with ConstructorProperties 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 valid JsonNumber.
    • NUMBER_INCOMPATIBLE_VALUE_TYPE_OBJECT

      public static final MessageKeys NUMBER_INCOMPATIBLE_VALUE_TYPE_OBJECT
      Target json value is not valid JsonNumber.
    • UNKNOWN_VISIBILITY_STRATEGY

      public static final MessageKeys UNKNOWN_VISIBILITY_STRATEGY
      Unknown visibility strategy.
  • Method Details

    • values

      public static MessageKeys[] 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

      public static MessageKeys valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getKey

      public String getKey()
      Returns message bundle key.
      Returns:
      message bundle key