public static enum PreconditionException.MessageKeys extends Enum<PreconditionException.MessageKeys> implements ODataLibraryException.MessageKey
Enum Constant and Description |
---|
FAILED
no parameter
|
INVALID_URI
no parameter
|
MISSING_HEADER
no parameter
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Gets this key.
|
static PreconditionException.MessageKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreconditionException.MessageKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreconditionException.MessageKeys MISSING_HEADER
public static final PreconditionException.MessageKeys FAILED
public static final PreconditionException.MessageKeys INVALID_URI
public static PreconditionException.MessageKeys[] values()
for (PreconditionException.MessageKeys c : PreconditionException.MessageKeys.values()) System.out.println(c);
public static PreconditionException.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.