Package org.apache.olingo.server.core
Enum Class ODataHandlerException.MessageKeys
java.lang.Object
java.lang.Enum<ODataHandlerException.MessageKeys>
org.apache.olingo.server.core.ODataHandlerException.MessageKeys
- All Implemented Interfaces:
Serializable,Comparable<ODataHandlerException.MessageKeys>,Constable,ODataLibraryException.MessageKey
- Enclosing class:
- ODataHandlerException
public static enum ODataHandlerException.MessageKeys
extends Enum<ODataHandlerException.MessageKeys>
implements ODataLibraryException.MessageKey
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionparameters: HTTP method, HTTP methodno parameterparameter: HTTP methodparameter: content typeparameter: HTTP methodinvalid payloadparameter: prefer headerno parameterparameter: versionparameter: processor interfaceparameter: content type -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets this key.Returns the enum constant of this class with the specified name.static ODataHandlerException.MessageKeys[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AMBIGUOUS_XHTTP_METHOD
parameters: HTTP method, HTTP method -
INVALID_HTTP_METHOD
parameter: HTTP method -
HTTP_METHOD_NOT_ALLOWED
parameter: HTTP method -
PROCESSOR_NOT_IMPLEMENTED
parameter: processor interface -
FUNCTIONALITY_NOT_IMPLEMENTED
no parameter -
MISSING_CONTENT_TYPE
no parameter -
UNSUPPORTED_CONTENT_TYPE
parameter: content type -
INVALID_CONTENT_TYPE
parameter: content type -
ODATA_VERSION_NOT_SUPPORTED
parameter: version -
INVALID_PREFER_HEADER
parameter: prefer header -
INVALID_PAYLOAD
invalid payload
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
Description copied from interface:ODataLibraryException.MessageKeyGets this key.- Specified by:
getKeyin interfaceODataLibraryException.MessageKey
-