Class TransientException

All Implemented Interfaces:
Serializable, RetryableException

public class TransientException extends Neo4jException implements RetryableException
A TransientException signals a temporary fault that may be worked around by retrying. The error code provided can be used to determine further detail for the problem.
Since:
1.0
See Also:
  • Constructor Details

    • TransientException

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

      @Preview(name="GQL-error") public TransientException(String gqlStatus, String statusDescription, String code, String message, Map<String,Value> diagnosticRecord, Throwable cause)
      Creates a new instance.
      Parameters:
      gqlStatus - the GQLSTATUS as defined by the GQL standard
      statusDescription - the status description
      code - the code
      message - the message
      diagnosticRecord - the diagnostic record
      cause - the cause
      Since:
      5.26.0