Class FatalDiscoveryException
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.FatalDiscoveryException
- All Implemented Interfaces:
Serializable
This error indicate a fatal problem to obtain routing tables such as the routing table for a specified database does not exist.
This exception should not be retried.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFatalDiscoveryException(String message) Creates a new instance.FatalDiscoveryException(String code, String message) Deprecated.FatalDiscoveryException(String gqlStatus, String statusDescription, String code, String message, Map<String, Value> diagnosticRecord, Throwable cause) Creates a new instance. -
Method Summary
Methods inherited from class Neo4jException
classification, code, containsGqlStatus, diagnosticRecord, findByGqlStatus, gqlCause, gqlStatus, rawClassification, statusDescriptionModifier and TypeMethodDescriptionReturns the error classification as aGqlStatusErrorClassificationenum value.code()Access the status code for this exception.booleancontainsGqlStatus(String gqlStatus) Returns whether there is an error with the given GQLSTATUS in this GQL error chain, beginning the search from this exception.Returns the GQL diagnostic record.findByGqlStatus(String gqlStatus) Finds the firstNeo4jExceptionthat has the given GQLSTATUS in this GQL error chain, beginning the search from this exception.gqlCause()Returns the GQL error cause.Returns the GQLSTATUS as defined by the GQL standard.Returns the error classification as aStringvalue.Returns the GQLSTATUS description.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FatalDiscoveryException
Creates a new instance.- Parameters:
message- the message
-
FatalDiscoveryException
Deprecated.Creates a new instance.- Parameters:
code- the codemessage- the message
-
FatalDiscoveryException
public FatalDiscoveryException(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 standardstatusDescription- the status descriptioncode- the codemessage- the messagediagnosticRecord- the diagnostic recordcause- the cause- Since:
- 5.26.0
-