public static enum ODataHandlerException.MessageKeys extends Enum<ODataHandlerException.MessageKeys> implements ODataLibraryException.MessageKey
| Enum Constant and Description |
|---|
AMBIGUOUS_XHTTP_METHOD
parameters: HTTP method, HTTP method
|
FUNCTIONALITY_NOT_IMPLEMENTED
no parameter
|
HTTP_METHOD_NOT_ALLOWED
parameter: HTTP method
|
INVALID_CONTENT_TYPE
parameter: content type
|
INVALID_HTTP_METHOD
parameter: HTTP method
|
INVALID_PAYLOAD
invalid payload
|
INVALID_PREFER_HEADER
parameter: prefer header
|
MISSING_CONTENT_TYPE
no parameter
|
ODATA_VERSION_NOT_SUPPORTED
parameter: version
|
PROCESSOR_NOT_IMPLEMENTED
parameter: processor interface
|
UNSUPPORTED_CONTENT_TYPE
parameter: content type
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets this key.
|
static ODataHandlerException.MessageKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ODataHandlerException.MessageKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ODataHandlerException.MessageKeys AMBIGUOUS_XHTTP_METHOD
public static final ODataHandlerException.MessageKeys INVALID_HTTP_METHOD
public static final ODataHandlerException.MessageKeys HTTP_METHOD_NOT_ALLOWED
public static final ODataHandlerException.MessageKeys PROCESSOR_NOT_IMPLEMENTED
public static final ODataHandlerException.MessageKeys FUNCTIONALITY_NOT_IMPLEMENTED
public static final ODataHandlerException.MessageKeys MISSING_CONTENT_TYPE
public static final ODataHandlerException.MessageKeys UNSUPPORTED_CONTENT_TYPE
public static final ODataHandlerException.MessageKeys INVALID_CONTENT_TYPE
public static final ODataHandlerException.MessageKeys ODATA_VERSION_NOT_SUPPORTED
public static final ODataHandlerException.MessageKeys INVALID_PREFER_HEADER
public static final ODataHandlerException.MessageKeys INVALID_PAYLOAD
public static ODataHandlerException.MessageKeys[] values()
for (ODataHandlerException.MessageKeys c : ODataHandlerException.MessageKeys.values()) System.out.println(c);
public static ODataHandlerException.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.MessageKeygetKey in interface ODataLibraryException.MessageKeyCopyright © 2023. All rights reserved.