public enum Errors extends Enum<Errors>
Note: this enum is for internal use only.
Enum Constant and Description |
---|
ABORTED_EXCEPTION |
DRIVER_CLOSED |
GENERIC_EXCEPTION |
GET_SESSION_INTERRUPTED |
INCORRECT_TYPE |
NO_SESSION_AVAILABLE |
QUEUE_CAPACITY |
RESULT_PARENT_INACTIVE |
RETRIEVE_INTERRUPTED |
SERIALIZING_PARAMS |
STREAM_RESULT_ITERATED |
TXN_DIGEST_MISMATCH |
Modifier and Type | Method and Description |
---|---|
String |
get()
Retrieve the localized error message associated with the enum value.
|
static Errors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Errors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Errors ABORTED_EXCEPTION
public static final Errors GET_SESSION_INTERRUPTED
public static final Errors DRIVER_CLOSED
public static final Errors QUEUE_CAPACITY
public static final Errors RETRIEVE_INTERRUPTED
public static final Errors RESULT_PARENT_INACTIVE
public static final Errors STREAM_RESULT_ITERATED
public static final Errors NO_SESSION_AVAILABLE
public static final Errors TXN_DIGEST_MISMATCH
public static final Errors INCORRECT_TYPE
public static final Errors SERIALIZING_PARAMS
public static final Errors GENERIC_EXCEPTION
public static Errors[] values()
for (Errors c : Errors.values()) System.out.println(c);
public static Errors 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 get()