| Package | Description | 
|---|---|
| com.datastax.driver.core.exceptions | Exceptions thrown by the DataStax Java driver for Cassandra. | 
| com.datastax.driver.core.policies | Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AlreadyExistsExceptionException thrown when a query attempts to create a keyspace or table that already exists. | 
| class  | AuthenticationExceptionIndicates an error during the authentication phase while connecting to a node. | 
| class  | BootstrappingExceptionIndicates that the contacted host was bootstrapping when it received a read query. | 
| class  | BusyConnectionExceptionIndicates that a connection has run out of stream IDs. | 
| class  | BusyPoolExceptionIndicates that a connection pool has run out of available connections. | 
| class  | ClientWriteExceptionAn error occurred server side when sending asynchronous results to the client (us), i.e. | 
| class  | CodecNotFoundExceptionThrown when a suitable  TypeCodeccannot be found byCodecRegistryinstances. | 
| class  | ConnectionExceptionIndicates that a connection to a host has encountered a problem
 and that it should be closed. | 
| class  | DriverInternalErrorAn unexpected error happened internally. | 
| class  | FrameTooLongExceptionIndicates that the response frame for a request exceeded
  Frame.Decoder.DecoderForStreamIdSize.MAX_FRAME_LENGTH(default: 256MB, configurable via com.datastax.driver.NATIVE_TRANSPORT_MAX_FRAME_SIZE_IN_MB
 system property) and thus was not parsed. | 
| class  | FunctionExecutionExceptionError during the execution of a function. | 
| class  | InvalidConfigurationInQueryExceptionA specific invalid query exception that indicates that the query is invalid
 because of some configuration problem. | 
| class  | InvalidQueryExceptionIndicates a syntactically correct but invalid query. | 
| class  | InvalidTypeExceptionThrown when a  TypeCodecis unable to perform the requested operation (serialization,
 deserialization, parsing or formatting) because the
 object or the byte buffer content being processed does not
 comply with the expected Java and/or CQL type. | 
| class  | NoHostAvailableExceptionException thrown when a query cannot be performed because no host is
 available. | 
| class  | OperationTimedOutExceptionThrown on a client-side timeout, i.e. | 
| class  | OverloadedExceptionIndicates that the contacted host reported itself being overloaded. | 
| class  | PagingStateExceptionIndicates an error while deserializing a (previously serialized)
  PagingStateobject,
 or when a paging state does not match the statement being executed. | 
| class  | ProtocolErrorIndicates that the contacted host reported a protocol error. | 
| class  | QueryConsistencyExceptionA failure to reach the required consistency level during the execution of a query. | 
| class  | QueryExecutionExceptionException related to the execution of a query. | 
| class  | QueryValidationExceptionAn exception indicating that a query cannot be executed because it is
 syntactically incorrect, invalid, unauthorized or any other reason. | 
| class  | ReadFailureExceptionA non-timeout error during a read query. | 
| class  | ReadTimeoutExceptionA Cassandra timeout during a read query. | 
| class  | ServerErrorIndicates that the contacted host reported an internal error. | 
| class  | SyntaxErrorIndicates a syntax error in a query. | 
| class  | TraceRetrievalExceptionException thrown if a query trace cannot be retrieved. | 
| class  | TransportExceptionA connection exception that has to do with the transport itself, i.e. | 
| class  | TruncateExceptionError during a truncation operation. | 
| class  | UnauthorizedExceptionIndicates that a query cannot be performed due to the authorization
 restrictions of the logged user. | 
| class  | UnavailableExceptionException thrown when the coordinator knows there is not enough replicas
 alive to perform a query with the requested consistency level. | 
| class  | UnpreparedExceptionIndicates that the contacted host replied with an UNPREPARED error code. | 
| class  | UnresolvedUserTypeExceptionThrown when a user type cannot be resolved. | 
| class  | UnsupportedFeatureExceptionException thrown when a feature is not supported by the native protocol
 currently in use. | 
| class  | UnsupportedProtocolVersionExceptionIndicates that we've attempted to connect to a Cassandra node with a protocol version
 that it cannot handle (e.g., connecting to a C* 1.2 node with protocol version 2). | 
| class  | WriteFailureExceptionA non-timeout error during a write query. | 
| class  | WriteTimeoutExceptionA Cassandra timeout during a write query. | 
| Modifier and Type | Method and Description | 
|---|---|
| DriverException | InvalidQueryException. copy() | 
| DriverException | FunctionExecutionException. copy() | 
| DriverException | DriverException. copy()Copy the exception. | 
| DriverException | AuthenticationException. copy() | 
| DriverException | AlreadyExistsException. copy() | 
| Modifier and Type | Method and Description | 
|---|---|
| RetryPolicy.RetryDecision | RetryPolicy. onRequestError(Statement statement,
              ConsistencyLevel cl,
              DriverException e,
              int nbRetry)Defines whether to retry and at which consistency level on an
 unexpected error. | 
| RetryPolicy.RetryDecision | LoggingRetryPolicy. onRequestError(Statement statement,
              ConsistencyLevel cl,
              DriverException e,
              int nbRetry) | 
| RetryPolicy.RetryDecision | IdempotenceAwareRetryPolicy. onRequestError(Statement statement,
              ConsistencyLevel cl,
              DriverException e,
              int nbRetry)Deprecated.  | 
| RetryPolicy.RetryDecision | FallthroughRetryPolicy. onRequestError(Statement statement,
              ConsistencyLevel cl,
              DriverException e,
              int nbRetry)Defines whether to retry and at which consistency level on an
 unexpected error. | 
| RetryPolicy.RetryDecision | DowngradingConsistencyRetryPolicy. onRequestError(Statement statement,
              ConsistencyLevel cl,
              DriverException e,
              int nbRetry)Deprecated.  Defines whether to retry and at which consistency level on an
 unexpected error. | 
| RetryPolicy.RetryDecision | DefaultRetryPolicy. onRequestError(Statement statement,
              ConsistencyLevel cl,
              DriverException e,
              int nbRetry)Defines whether to retry and at which consistency level on an
 unexpected error. | 
Copyright © 2012–2018. All rights reserved.