public static enum ODataSerializerException.MessageKeys extends Enum<ODataSerializerException.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_PROPERTY_VALUE
parameters: property name, property value
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static ODataSerializerException.MessageKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ODataSerializerException.MessageKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ODataSerializerException.MessageKeys NOT_IMPLEMENTED
public static final ODataSerializerException.MessageKeys UNSUPPORTED_FORMAT
public static final ODataSerializerException.MessageKeys JSON_METADATA
public static final ODataSerializerException.MessageKeys IO_EXCEPTION
public static final ODataSerializerException.MessageKeys NULL_INPUT
public static final ODataSerializerException.MessageKeys NO_CONTEXT_URL
public static final ODataSerializerException.MessageKeys UNSUPPORTED_PROPERTY_TYPE
public static final ODataSerializerException.MessageKeys INCONSISTENT_PROPERTY_TYPE
public static final ODataSerializerException.MessageKeys MISSING_PROPERTY
public static final ODataSerializerException.MessageKeys WRONG_PROPERTY_VALUE
public static ODataSerializerException.MessageKeys[] values()
for (ODataSerializerException.MessageKeys c : ODataSerializerException.MessageKeys.values()) System.out.println(c);
public static ODataSerializerException.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()
getKey
in interface ODataTranslatedException.MessageKey
Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.