public static enum SerializerException.MessageKeys extends Enum<SerializerException.MessageKeys> implements ODataLibraryException.MessageKey
Enum Constant and Description |
---|
INCONSISTENT_PROPERTY_TYPE
parameter: property name
|
IO_EXCEPTION |
JSON_METADATA |
MISSING_DELTA_PROPERTY
parameter: Delta property name
|
MISSING_ID
parameter: -
|
MISSING_PROPERTY
parameter: property name
|
NO_CONTEXT_URL |
NOT_IMPLEMENTED |
NULL_INPUT |
NULL_METADATA_OR_EDM |
UNKNOWN_TYPE |
UNSUPPORTED_ENCODING
parameter: encoding-name
|
UNSUPPORTED_FORMAT
parameter: format
|
UNSUPPORTED_OPERATION_TYPE |
UNSUPPORTED_PROPERTY_TYPE
parameter: property name
|
WRONG_BASE_TYPE |
WRONG_PRIMITIVE_VALUE
parameters: primitive-type name, value
|
WRONG_PROPERTY_VALUE
parameters: property name, property value
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Gets this key.
|
static SerializerException.MessageKeys |
valueOf(String name)
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.
|
public static final SerializerException.MessageKeys NULL_METADATA_OR_EDM
public static final SerializerException.MessageKeys NOT_IMPLEMENTED
public static final SerializerException.MessageKeys UNSUPPORTED_FORMAT
public static final SerializerException.MessageKeys JSON_METADATA
public static final SerializerException.MessageKeys IO_EXCEPTION
public static final SerializerException.MessageKeys NULL_INPUT
public static final SerializerException.MessageKeys NO_CONTEXT_URL
public static final SerializerException.MessageKeys UNSUPPORTED_PROPERTY_TYPE
public static final SerializerException.MessageKeys INCONSISTENT_PROPERTY_TYPE
public static final SerializerException.MessageKeys MISSING_PROPERTY
public static final SerializerException.MessageKeys MISSING_DELTA_PROPERTY
public static final SerializerException.MessageKeys MISSING_ID
public static final SerializerException.MessageKeys WRONG_PROPERTY_VALUE
public static final SerializerException.MessageKeys WRONG_PRIMITIVE_VALUE
public static final SerializerException.MessageKeys UNKNOWN_TYPE
public static final SerializerException.MessageKeys WRONG_BASE_TYPE
public static final SerializerException.MessageKeys UNSUPPORTED_OPERATION_TYPE
public static final SerializerException.MessageKeys UNSUPPORTED_ENCODING
public static SerializerException.MessageKeys[] values()
for (SerializerException.MessageKeys c : SerializerException.MessageKeys.values()) System.out.println(c);
public static SerializerException.MessageKeys valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getKey()
ODataLibraryException.MessageKey
getKey
in interface ODataLibraryException.MessageKey
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.