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.
|
class |
CodecNotFoundException
Thrown when a suitable
TypeCodec cannot be found by
CodecRegistry instances. |
class |
DriverInternalError
An unexpected error happened internally.
|
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 |
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 |
QueryConsistencyException
A failure to reach the required consistency level during the execution of a query.
|
class |
QueryExecutionException
Exception related to the execution of 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 |
ReadFailureException
A non-timeout error during a read query.
|
class |
ReadTimeoutException
A Cassandra timeout during a read query.
|
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 |
WriteFailureException
A non-timeout error during a write query.
|
class |
WriteTimeoutException
A Cassandra 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 |
TraceRetrievalException.copy() |
DriverException |
SyntaxError.copy() |
DriverException |
ReadTimeoutException.copy() |
DriverException |
ReadFailureException.copy() |
DriverException |
NoHostAvailableException.copy() |
DriverException |
InvalidTypeException.copy() |
DriverException |
InvalidQueryException.copy() |
DriverException |
FunctionExecutionException.copy() |
DriverException |
DriverException.copy()
Copy the exception.
|
DriverException |
AuthenticationException.copy() |
DriverException |
AlreadyExistsException.copy() |
Copyright © 2012–2015. All rights reserved.