java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.driver.exceptions.Neo4jException
org.neo4j.driver.exceptions.SessionExpiredException
- All Implemented Interfaces:
Serializable
,RetryableException
A SessionExpiredException indicates that the session can no longer satisfy the criteria under which it was acquired, e.g. a server no longer accepts
write requests. A new session needs to be acquired from the driver and all actions taken on the expired session must be replayed.
- Since:
- 1.1
- See Also:
-
Constructor Summary
ConstructorDescriptionSessionExpiredException
(String message) Creates a new instance.SessionExpiredException
(String message, Throwable throwable) 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
-
SessionExpiredException
Creates a new instance.- Parameters:
message
- the message
-
SessionExpiredException
Creates a new instance.- Parameters:
message
- the messagethrowable
- the throwable
-