Class SessionExpiredException

All Implemented Interfaces:
Serializable, RetryableException

public class SessionExpiredException extends Neo4jException implements 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 Details

    • SessionExpiredException

      public SessionExpiredException(String message)
      Creates a new instance.
      Parameters:
      message - the message
    • SessionExpiredException

      public SessionExpiredException(String message, Throwable throwable)
      Creates a new instance.
      Parameters:
      message - the message
      throwable - the throwable