public enum Error extends Enum<Error>
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
static Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error NO_BACKENDS_IN_SERVICE
public static final Error NULL_QUERY
public static final Error REQUEST_TOO_LARGE
public static final Error ILLEGAL_QUERY
public static final Error INVALID_QUERY_PARAMETER
public static final Error UNSPECIFIED
public static final Error ERROR_IN_PLUGIN
public static final Error INVALID_QUERY_TRANSFORMATION
public static final Error RESULT_HAS_ERRORS
public static final Error SERVER_IS_MISCONFIGURED
public static final Error BACKEND_COMMUNICATION_ERROR
public static final Error NO_ANSWER_WHEN_PINGING_NODE
public static final Error TIMEOUT
public static final Error EMPTY_DOCUMENTS
public static final Error UNAUTHORIZED
public static final Error FORBIDDEN
public static final Error NOT_FOUND
public static final Error BAD_REQUEST
public static final Error INTERNAL_SERVER_ERROR
public static Error[] values()
for (Error c : Error.values()) System.out.println(c);
public static Error 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 nullCopyright © 2017. All rights reserved.