Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
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.
|
com.datastax.driver.dse.auth |
Class and Description |
---|
AuthenticationException
Indicates an error during the authentication phase while connecting to a node.
|
CodecNotFoundException
Thrown when a suitable
TypeCodec cannot be found by
CodecRegistry instances. |
InvalidTypeException
Thrown when a
TypeCodec
is 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 and Description |
---|
AlreadyExistsException
Exception thrown when a query attempts to create a keyspace or table that already exists.
|
BootstrappingException
Indicates that the contacted host was bootstrapping when it received a read query.
|
BusyConnectionException
Indicates that a connection has run out of stream IDs.
|
CodecNotFoundException
Thrown when a suitable
TypeCodec cannot be found by
CodecRegistry instances. |
ConnectionException
Indicates that a connection to a host has encountered a problem
and that it should be closed.
|
CoordinatorException
An interface for exceptions that are able to report the address of the coordinator host
that was contacted.
|
DriverException
Top level class for exceptions thrown by the driver.
|
DriverInternalError
An unexpected error happened internally.
|
InvalidConfigurationInQueryException
A specific invalid query exception that indicates that the query is invalid
because of some configuration problem.
|
InvalidQueryException
Indicates a syntactically correct but invalid query.
|
InvalidTypeException
Thrown when a
TypeCodec
is 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. |
NoHostAvailableException
Exception thrown when a query cannot be performed because no host is
available.
|
OperationTimedOutException
Thrown on a client-side timeout, i.e.
|
OverloadedException
Indicates that the contacted host reported itself being overloaded.
|
ProtocolError
Indicates that the contacted host reported a protocol error.
|
QueryConsistencyException
A failure to reach the required consistency level during the execution of a query.
|
QueryExecutionException
Exception related to the execution of a query.
|
QueryValidationException
An exception indicating that a query cannot be executed because it is
syntactically incorrect, invalid, unauthorized or any other reason.
|
ReadFailureException
A non-timeout error during a read query.
|
ReadTimeoutException
A Cassandra timeout during a read query.
|
ServerError
Indicates that the contacted host reported an internal error.
|
SyntaxError
Indicates a syntax error in a query.
|
TraceRetrievalException
Exception thrown if a query trace cannot be retrieved.
|
TransportException
A connection exception that has to do with the transport itself, i.e.
|
TruncateException
Error during a truncation operation.
|
UnauthorizedException
Indicates that a query cannot be performed due to the authorization
restrictions of the logged user.
|
UnavailableException
Exception thrown when the coordinator knows there is not enough replicas
alive to perform a query with the requested consistency level.
|
UnpreparedException
Indicates that the contacted host replied with an UNPREPARED error code.
|
UnresolvedUserTypeException
Thrown when a user type cannot be resolved.
|
UnsupportedProtocolVersionException
Indicates 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).
|
WriteFailureException
A non-timeout error during a write query.
|
WriteTimeoutException
A Cassandra timeout during a write query.
|
Class and Description |
---|
DriverException
Top level class for exceptions thrown by the driver.
|
Class and Description |
---|
AuthenticationException
Indicates an error during the authentication phase while connecting to a node.
|