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 |
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 |
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 |
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 |
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 |
DriverInternalError.copy() |
abstract DriverException |
DriverException.copy()
Copy the exception.
|
DriverException |
AuthenticationException.copy() |
DriverException |
AlreadyExistsException.copy() |
Copyright © 2014. All Rights Reserved.