Enum DeserializerException.MessageKeys
java.lang.Object
java.lang.Enum<DeserializerException.MessageKeys>
org.apache.olingo.server.api.deserializer.DeserializerException.MessageKeys
- All Implemented Interfaces:
Serializable
,Comparable<DeserializerException.MessageKeys>
,java.lang.constant.Constable
,ODataLibraryException.MessageKey
- Enclosing class:
- DeserializerException
public static enum DeserializerException.MessageKeys
extends Enum<DeserializerException.MessageKeys>
implements ODataLibraryException.MessageKey
Keys for exception texts in the resource bundle.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionparameter: action parameter nameparameter: annotationNameparameter: binding linkparameter: propertyNameparameter: annotationNameparameter: parameterNameparameter: propertyNameparameter: navigationPropertyNameparameter: propertyNameparameter: navigationPropertyNameparameter: keyNameparameters: primitiveTypeName, propertyNameparameter: format -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Gets this key.Returns the enum constant of this type with the specified name.static DeserializerException.MessageKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_IMPLEMENTED
-
IO_EXCEPTION
-
UNSUPPORTED_FORMAT
parameter: format -
JSON_SYNTAX_EXCEPTION
-
INVALID_NULL_PROPERTY
parameter: propertyName -
UNKNOWN_CONTENT
parameter: keyName -
INVALID_VALUE_FOR_PROPERTY
parameter: propertyName -
INVALID_JSON_TYPE_FOR_PROPERTY
parameter: propertyName -
VALUE_ARRAY_NOT_PRESENT
-
VALUE_TAG_MUST_BE_AN_ARRAY
-
INVALID_ENTITY
-
INVALID_VALUE_FOR_NAVIGATION_PROPERTY
parameter: navigationPropertyName -
DUPLICATE_PROPERTY
-
DUPLICATE_JSON_PROPERTY
-
UNKNOWN_PRIMITIVE_TYPE
parameters: primitiveTypeName, propertyName -
NAVIGATION_PROPERTY_NOT_FOUND
parameter: navigationPropertyName -
INVALID_ANNOTATION_TYPE
parameter: annotationName -
INVALID_NULL_ANNOTATION
parameter: annotationName -
INVALID_ENTITY_BINDING_LINK
parameter: binding link -
INVALID_ACTION_PARAMETER_TYPE
parameter: action parameter name -
INVALID_NULL_PARAMETER
parameter: parameterName
-
-
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
Description copied from interface:ODataLibraryException.MessageKey
Gets this key.- Specified by:
getKey
in interfaceODataLibraryException.MessageKey
-