Package | Description |
---|---|
com.datastax.oss.driver.api.core |
The core API of the driver, that deals with query execution and cluster metadata.
|
com.datastax.oss.driver.api.core.connection |
Types related to a connection to a Cassandra node.
|
com.datastax.oss.driver.api.core.servererrors | |
com.datastax.oss.driver.api.mapper |
Modifier and Type | Class and Description |
---|---|
class |
AllNodesFailedException
Thrown when a query failed on all the coordinators it was tried on.
|
class |
DriverExecutionException
Thrown by synchronous wrapper methods (such as
CqlSession.execute(Statement) , when the
underlying future was completed with a checked exception. |
class |
DriverTimeoutException
Thrown when a driver request timed out.
|
class |
InvalidKeyspaceException
Thrown when a session gets created with an invalid keyspace.
|
class |
NoNodeAvailableException
Specialization of
AllNodesFailedException when no coordinators were tried. |
class |
RequestThrottlingException
Thrown if the session uses a request throttler, and it didn't allow the current request to
execute.
|
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* 2.1 node with protocol version 4).
|
Modifier and Type | Method and Description |
---|---|
DriverException |
UnsupportedProtocolVersionException.copy() |
DriverException |
RequestThrottlingException.copy() |
DriverException |
NoNodeAvailableException.copy() |
DriverException |
InvalidKeyspaceException.copy() |
DriverException |
DriverTimeoutException.copy() |
DriverException |
DriverExecutionException.copy() |
abstract DriverException |
DriverException.copy()
Copy the exception.
|
DriverException |
AllNodesFailedException.copy() |
Modifier and Type | Class and Description |
---|---|
class |
BusyConnectionException
Indicates that a write was attempted on a connection that already handles too many simultaneous
requests.
|
class |
ClosedConnectionException
Thrown when the connection on which a request was executing is closed due to an unrelated event.
|
class |
ConnectionInitException
Indicates a generic error while initializing a connection.
|
class |
FrameTooLongException
Thrown when an incoming or outgoing protocol frame exceeds the limit defined by
protocol.max-frame-length in the configuration. |
class |
HeartbeatException
Thrown when a heartbeat query fails.
|
Modifier and Type | Method and Description |
---|---|
DriverException |
HeartbeatException.copy() |
DriverException |
FrameTooLongException.copy() |
DriverException |
ConnectionInitException.copy() |
DriverException |
ClosedConnectionException.copy() |
DriverException |
BusyConnectionException.copy() |
Modifier and Type | Class and Description |
---|---|
class |
AlreadyExistsException
Thrown when a query attempts to create a keyspace or table that already exists.
|
class |
BootstrappingException
Thrown when the coordinator was bootstrapping when it received a query.
|
class |
CoordinatorException
A server-side error thrown by the coordinator node in response to a driver request.
|
class |
FunctionFailureException
An error during the execution of a CQL function.
|
class |
InvalidConfigurationInQueryException
Indicates that a query is invalid because of some configuration problem.
|
class |
InvalidQueryException
Indicates a syntactically correct, but invalid query.
|
class |
OverloadedException
Thrown when the coordinator reported itself as being overloaded.
|
class |
ProtocolError
Indicates that the contacted node reported a protocol error.
|
class |
QueryConsistencyException
A failure to reach the required consistency level during the execution of a query.
|
class |
QueryExecutionException
A server-side error thrown when a valid query cannot be executed.
|
class |
QueryValidationException
A server-side error thrown when a query cannot be executed because it is syntactically incorrect,
invalid or unauthorized.
|
class |
ReadFailureException
A non-timeout error during a read query.
|
class |
ReadTimeoutException
A server-side timeout during a read query.
|
class |
ServerError
Indicates that the contacted node reported an internal error.
|
class |
SyntaxError
A syntax error in a query.
|
class |
TruncateException
An 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
Thrown when the coordinator knows there is not enough replicas alive to perform a query with the
requested consistency level.
|
class |
WriteFailureException
A non-timeout error during a write query.
|
class |
WriteTimeoutException
A server-side timeout during a write query.
|
Modifier and Type | Method and Description |
---|---|
DriverException |
WriteTimeoutException.copy() |
DriverException |
WriteFailureException.copy() |
DriverException |
UnavailableException.copy() |
DriverException |
UnauthorizedException.copy() |
DriverException |
TruncateException.copy() |
DriverException |
SyntaxError.copy() |
DriverException |
ServerError.copy() |
DriverException |
ReadTimeoutException.copy() |
DriverException |
ReadFailureException.copy() |
DriverException |
ProtocolError.copy() |
DriverException |
OverloadedException.copy() |
DriverException |
InvalidQueryException.copy() |
DriverException |
InvalidConfigurationInQueryException.copy() |
DriverException |
FunctionFailureException.copy() |
DriverException |
BootstrappingException.copy() |
DriverException |
AlreadyExistsException.copy() |
Modifier and Type | Class and Description |
---|---|
class |
MapperException
A runtime issue with the object mapper.
|
Modifier and Type | Method and Description |
---|---|
DriverException |
MapperException.copy() |
Copyright © 2017–2019. All rights reserved.