java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.driver.exceptions.Neo4jException
org.neo4j.driver.exceptions.ClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthTokenManagerExecutionException
,FatalDiscoveryException
,ResultConsumedException
,SecurityException
,TransactionNestingException
,TransactionTerminatedException
,UnsupportedFeatureException
,ValueException
A ClientException indicates that the client has carried out an operation incorrectly.
The error code provided can be used to determine further detail for the problem.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionClientException
(String message) Creates a new instance.ClientException
(String code, String message) Creates a new instance.ClientException
(String message, Throwable cause) Creates a new instance. -
Method Summary
Methods inherited from class org.neo4j.driver.exceptions.Neo4jException
code
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientException
Creates a new instance.- Parameters:
message
- the message
-
ClientException
Creates a new instance.- Parameters:
message
- the messagecause
- the cause
-
ClientException
Creates a new instance.- Parameters:
code
- the codemessage
- the message
-