Package | Description |
---|---|
org.neo4j.driver.exceptions | |
org.neo4j.driver.exceptions.value | |
org.neo4j.driver.summary |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticationException
Failed to authenticate the driver to the server due to bad credentials provided.
|
class |
AuthorizationExpiredException
The authorization info maintained on the server has expired.
|
class |
ClientException
A ClientException indicates that the client has carried out an operation incorrectly.
|
class |
ConnectionReadTimeoutException
Indicates that read timed out due to it taking longer than the server-supplied timeout value via the
connection.recv_timeout_seconds configuration
hint. |
class |
DatabaseException
A DatabaseException indicates that there is a problem within the underlying database.
|
class |
DiscoveryException
An error has happened while getting routing table with a remote server.
|
class |
FatalDiscoveryException
This error indicate a fatal problem to obtain routing tables such as the routing table for a specified database does not exist.
|
class |
ProtocolException
A signal that the contract for client-server communication has broken down.
|
class |
ResultConsumedException
A user is trying to access resources that are no longer valid due to
the resources have already been consumed or
the
QueryRunner where the resources are created has already been closed. |
class |
SecurityException
Failed to communicate with the server due to security errors.
|
class |
ServiceUnavailableException
An ServiceUnavailableException indicates that the driver cannot communicate with the cluster.
|
class |
SessionExpiredException
A SessionExpiredException indicates that the session can no longer satisfy the criteria under which it was acquired, e.g.
|
class |
TokenExpiredException
The provided token has expired.
|
class |
TransactionNestingException
This exception indicates a user is nesting new transaction with an on-going transaction (unmanaged and/or auto-commit).
|
class |
TransientException
A TransientException signals a temporary fault that may be worked around by retrying.
|
Modifier and Type | Class and Description |
---|---|
class |
LossyCoercion
A LossyCoercion exception indicates that the conversion cannot be achieved without losing precision.
|
class |
NotMultiValued
A NotMultiValued exception indicates that the value does not consist of multiple values, a.k.a.
|
class |
Uncoercible
A Uncoercible exception indicates that the conversion cannot be achieved.
|
class |
Unsizable
An Unsizable exception indicates that the value does not have a size.
|
class |
ValueException
A ValueException indicates that the client has carried out an operation on values incorrectly.
|
Modifier and Type | Method and Description |
---|---|
static QueryType |
QueryType.fromCode(String type,
Function<String,? extends Neo4jException> exceptionFunction) |