public enum CassandraErrorCode extends Enum<CassandraErrorCode> implements ErrorCodeSupplier
| Enum Constant and Description |
|---|
CASSANDRA_METADATA_ERROR |
CASSANDRA_SSL_INITIALIZATION_FAILURE |
CASSANDRA_VERSION_ERROR |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
toErrorCode() |
static CassandraErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CassandraErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CassandraErrorCode CASSANDRA_METADATA_ERROR
public static final CassandraErrorCode CASSANDRA_VERSION_ERROR
public static final CassandraErrorCode CASSANDRA_SSL_INITIALIZATION_FAILURE
public static CassandraErrorCode[] values()
for (CassandraErrorCode c : CassandraErrorCode.values()) System.out.println(c);
public static CassandraErrorCode 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 ErrorCode toErrorCode()
toErrorCode in interface ErrorCodeSupplierCopyright © 2012–2020. All rights reserved.