Class ConnectionReadTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.driver.exceptions.Neo4jException
org.neo4j.driver.exceptions.ServiceUnavailableException
org.neo4j.driver.exceptions.ConnectionReadTimeoutException
- All Implemented Interfaces:
Serializable, RetryableException
Indicates that read timed out due to it taking longer than the server-supplied timeout value via the
connection.recv_timeout_seconds configuration
hint. The server might provide this value to clients to let them know when a given connection may be considered broken if client does not get any
communication from the server within the specified timeout period. This results in the server being removed from the routing table.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConnectionReadTimeoutExceptionAn instance ofConnectionReadTimeoutException. -
Constructor Summary
Constructors -
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
-
Field Details
-
INSTANCE
An instance ofConnectionReadTimeoutException.
-
-
Constructor Details
-
ConnectionReadTimeoutException
Deprecated.superseded by theINSTANCEvalueCreates a new instance.- Parameters:
message- the message
-
INSTANCEvalue