java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.driver.exceptions.Neo4jException
org.neo4j.driver.exceptions.ClientException
org.neo4j.driver.exceptions.SecurityException
org.neo4j.driver.exceptions.AuthenticationException
- All Implemented Interfaces:
Serializable
Failed to authenticate the driver to the server due to bad credentials provided.
When this error happens, the error could be recovered by closing the current driver and restart a new driver with
the correct credentials.
- Since:
- 1.1
- See Also:
-
Constructor Summary
ConstructorDescriptionAuthenticationException
(String code, String message) 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
-
AuthenticationException
Creates a new instance.- Parameters:
code
- the codemessage
- the message
-