java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.driver.exceptions.Neo4jException
org.neo4j.driver.exceptions.ServiceUnavailableException
- All Implemented Interfaces:
Serializable
,RetryableException
- Direct Known Subclasses:
ConnectionReadTimeoutException
An ServiceUnavailableException indicates that the driver cannot communicate with the cluster.
- Since:
- 1.1
- See Also:
-
Constructor Summary
ConstructorDescriptionServiceUnavailableException
(String message) Creates a new instance.ServiceUnavailableException
(String message, Throwable throwable) Creates a new instance. -
Method Summary
Methods inherited from class org.neo4j.driver.exceptions.Neo4jException
classification, code, diagnosticRecord, gqlCause, gqlStatus, rawClassification, statusDescription
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceUnavailableException
Creates a new instance.- Parameters:
message
- the message
-
ServiceUnavailableException
Creates a new instance.- Parameters:
message
- the messagethrowable
- the throwable
-