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 |
DriverInternalError
An unexpected error happened internally.
|
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 |
InvalidTypeException |
class |
NoHostAvailableException
Exception thrown when a query cannot be performed because no host are
available.
|
class |
OverloadedException
Indicates that the contacted host reported itself being overloaded.
|
class |
PagingStateException |
class |
ProtocolError
Indicates that the contacted host reported a protocol error.
|
class |
QueryExecutionException
Exception related to the execution of a query.
|
class |
QueryTimeoutException
A Cassandra timeout during a query.
|
class |
QueryValidationException
An exception indicating that a query cannot be executed because it is
syntactically incorrect, invalid, unauthorized or any other reason.
|
class |
ReadTimeoutException
A Cassandra timeout during a read query.
|
class |
ServerError
Indicates that the contacted host reported un expected error.
|
class |
SyntaxError
Indicates a syntax error in a query.
|
class |
TraceRetrievalException
Exception thrown if a query trace cannot be retrieved.
|
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 replica
alive to perform a query with the requested consistency level.
|
class |
UnpreparedException
Indicates that the contacted host replied with an UNPREPARED error code.
|
class |
UnsupportedFeatureException
Exception thrown when a feature is not supported by the native protocol
currently in use.
|
class |
WriteTimeoutException
A Cassandra timeout during a write query.
|
Modifier and Type | Method and Description |
---|---|
DriverException |
WriteTimeoutException.copy() |
DriverException |
UnavailableException.copy() |
DriverException |
UnauthorizedException.copy() |
DriverException |
TruncateException.copy() |
DriverException |
TraceRetrievalException.copy() |
DriverException |
SyntaxError.copy() |
DriverException |
ReadTimeoutException.copy() |
DriverException |
NoHostAvailableException.copy() |
DriverException |
InvalidTypeException.copy() |
DriverException |
InvalidQueryException.copy() |
DriverException |
DriverException.copy()
Copy the exception.
|
DriverException |
AuthenticationException.copy() |
DriverException |
AlreadyExistsException.copy() |