public static enum SerializerException.MessageKeys extends Enum<SerializerException.MessageKeys> implements ODataTranslatedException.MessageKey
Enum Constant and Description |
---|
INCONSISTENT_PROPERTY_TYPE
parameter: property name
|
IO_EXCEPTION |
JSON_METADATA |
MISSING_PROPERTY
parameter: property name
|
NO_CONTEXT_URL |
NOT_IMPLEMENTED |
NULL_INPUT |
UNSUPPORTED_FORMAT
parameter: format
|
UNSUPPORTED_PROPERTY_TYPE
parameter: property name
|
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 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 WRONG_PROPERTY_VALUE
public static final SerializerException.MessageKeys WRONG_PRIMITIVE_VALUE
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()
ODataTranslatedException.MessageKey
getKey
in interface ODataTranslatedException.MessageKey
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.