Package | Description |
---|---|
com.datastax.driver.core.exceptions |
Exceptions thrown by the DataStax Java driver for Cassandra.
|
Modifier and Type | Class and Description |
---|---|
class |
AlreadyExistsException
Exception thrown when a query attempts to create a keyspace or table that already exists.
|
class |
AuthenticationException
Indicates an error during the authentication phase while connecting to a node.
|
class |
BootstrappingException
Indicates that the contacted host was bootstrapping when it received a read query.
|
class |
BusyConnectionException
Indicates that a connection has run out of stream IDs.
|
class |
BusyPoolException
Indicates that a connection pool has run out of available connections.
|
class |
ConnectionException
Indicates that a connection to a host has encountered a problem and that it should be closed.
|
class |
FunctionExecutionException
Error during the execution of a function.
|
class |
InvalidConfigurationInQueryException
A specific invalid query exception that indicates that the query is invalid because of some
configuration problem.
|
class |
InvalidQueryException
Indicates a syntactically correct but invalid query.
|
class |
OperationTimedOutException
Thrown on a client-side timeout, i.e.
|
class |
OverloadedException
Indicates that the contacted host reported itself being overloaded.
|
class |
ProtocolError
Indicates that the contacted host reported a protocol error.
|
class |
QueryConsistencyException
A failure to reach the required consistency level during the execution of a query.
|
class |
ReadFailureException
A non-timeout error during a read query.
|
class |
ReadTimeoutException
A Cassandra timeout during a read query.
|
class |
ServerError
Indicates that the contacted host reported an internal error.
|
class |
SyntaxError
Indicates a syntax error in a query.
|
class |
TransportException
A connection exception that has to do with the transport itself, i.e.
|
class |
TruncateException
Error during a truncation operation.
|
class |
UnauthorizedException
Indicates that a query cannot be performed due to the authorization restrictions of the logged
user.
|
class |
UnavailableException
Exception thrown when the coordinator knows there is not enough replicas alive to perform a query
with the requested consistency level.
|
class |
UnpreparedException
Indicates that the contacted host replied with an UNPREPARED error code.
|
class |
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).
|
class |
WriteFailureException
A non-timeout error during a write query.
|
class |
WriteTimeoutException
A Cassandra timeout during a write query.
|
Copyright © 2012–2020. All rights reserved.