Class ClientException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthTokenManagerExecutionException, FatalDiscoveryException, ResultConsumedException, SecurityException, TransactionNestingException, TransactionTerminatedException, UnsupportedFeatureException, ValueException

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

    • ClientException

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

      public ClientException(String message, Throwable cause)
      Creates a new instance.
      Parameters:
      message - the message
      cause - the cause
    • ClientException

      public ClientException(String code, String message)
      Creates a new instance.
      Parameters:
      code - the code
      message - the message