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.SecurityException
org.neo4j.driver.exceptions.AuthorizationExpiredException
- All Implemented Interfaces:
Serializable
,RetryableException
The authorization info maintained on the server has expired. The client should reconnect.
Error code: Neo.ClientError.Security.AuthorizationExpired
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The description forAuthorizationExpiredException
. -
Constructor Summary
-
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
-
Field Details
-
DESCRIPTION
The description forAuthorizationExpiredException
.- See Also:
-
-
Constructor Details
-
AuthorizationExpiredException
Creates a new instance.- Parameters:
code
- the codemessage
- the message
-
AuthorizationExpiredException
@Preview(name="GQL-error") public AuthorizationExpiredException(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
-