| Package | Description | 
|---|---|
| org.apache.cassandra.exceptions | |
| org.apache.cassandra.transport | 
| Modifier and Type | Method and Description | 
|---|---|
| ExceptionCode | CassandraException. code() | 
| ExceptionCode | TransportException. code()The exception code. | 
| static ExceptionCode | ExceptionCode. fromValue(int value) | 
| static ExceptionCode | ExceptionCode. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ExceptionCode[] | ExceptionCode. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Constructor and Description | 
|---|
| CassandraException(ExceptionCode code,
                  java.lang.String msg) | 
| CassandraException(ExceptionCode code,
                  java.lang.String msg,
                  java.lang.Throwable cause) | 
| ConfigurationException(ExceptionCode code,
                      java.lang.String msg) | 
| RequestExecutionException(ExceptionCode code,
                         java.lang.String msg) | 
| RequestExecutionException(ExceptionCode code,
                         java.lang.String msg,
                         java.lang.Throwable e) | 
| RequestFailureException(ExceptionCode code,
                       ConsistencyLevel consistency,
                       int received,
                       int blockFor,
                       java.util.Map<java.net.InetAddress,RequestFailureReason> failureReasonByEndpoint) | 
| RequestTimeoutException(ExceptionCode code,
                       ConsistencyLevel consistency,
                       int received,
                       int blockFor) | 
| RequestValidationException(ExceptionCode code,
                          java.lang.String msg) | 
| RequestValidationException(ExceptionCode code,
                          java.lang.String msg,
                          java.lang.Throwable e) | 
| Modifier and Type | Method and Description | 
|---|---|
| ExceptionCode | ProtocolException. code() | 
| ExceptionCode | ServerError. code() | 
Copyright © 2018 The Apache Software Foundation