Enum SerializerException.MessageKeys
java.lang.Object
java.lang.Enum<SerializerException.MessageKeys>
org.apache.olingo.server.api.serializer.SerializerException.MessageKeys
- All Implemented Interfaces:
Serializable
,Comparable<SerializerException.MessageKeys>
,java.lang.constant.Constable
,ODataLibraryException.MessageKey
- Enclosing class:
- SerializerException
public static enum SerializerException.MessageKeys
extends Enum<SerializerException.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: property nameparameter: Delta property nameparameter: -parameter: property nameparameter: encoding-nameparameter: formatparameter: property nameparameters: primitive-type name, valueparameters: property name, property value -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Gets this key.Returns the enum constant of this type with the specified name.static SerializerException.MessageKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NULL_METADATA_OR_EDM
-
NOT_IMPLEMENTED
-
UNSUPPORTED_FORMAT
parameter: format -
JSON_METADATA
-
IO_EXCEPTION
-
NULL_INPUT
-
NO_CONTEXT_URL
-
UNSUPPORTED_PROPERTY_TYPE
parameter: property name -
INCONSISTENT_PROPERTY_TYPE
parameter: property name -
MISSING_PROPERTY
parameter: property name -
MISSING_DELTA_PROPERTY
parameter: Delta property name -
MISSING_ID
parameter: - -
WRONG_PROPERTY_VALUE
parameters: property name, property value -
WRONG_PRIMITIVE_VALUE
parameters: primitive-type name, value -
UNKNOWN_TYPE
-
WRONG_BASE_TYPE
-
UNSUPPORTED_OPERATION_TYPE
-
NULL_PROPERTY
-
UNSUPPORTED_ENCODING
parameter: encoding-name
-
-
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
-