Enum Class SearchTokenizerException.MessageKeys
java.lang.Object
java.lang.Enum<SearchTokenizerException.MessageKeys>
org.apache.olingo.server.core.uri.parser.search.SearchTokenizerException.MessageKeys
- All Implemented Interfaces:
Serializable,Comparable<SearchTokenizerException.MessageKeys>,Constable,ODataLibraryException.MessageKey
- Enclosing class:
- SearchTokenizerException
public static enum SearchTokenizerException.MessageKeys
extends Enum<SearchTokenizerException.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 ConstantDescriptionparameter: TOKENparameter: character, TOKENparameter: TOKENparameter: TOKENparameter: TOKEN -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets this key.Returns the enum constant of this class with the specified name.static SearchTokenizerException.MessageKeys[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORBIDDEN_CHARACTER
parameter: character, TOKEN -
NOT_EXPECTED_TOKEN
parameter: TOKEN -
NOT_FINISHED_QUERY
parameter: TOKEN -
INVALID_TOKEN_STATE
parameter: TOKEN -
ALREADY_FINISHED
parameter: TOKEN
-
-
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
-