Class TokenExpiredException
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.TokenExpiredException
- All Implemented Interfaces:
Serializable
The provided token has expired.
The current driver instance is considered invalid. It should not be used anymore. The client must create a new driver instance with a valid token.
Error code: Neo.ClientError.Security.TokenExpired
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Neo4jException
classification, code, containsGqlStatus, diagnosticRecord, findByGqlStatus, gqlCause, gqlStatus, rawClassification, statusDescriptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TokenExpiredException
-
TokenExpiredException
public TokenExpiredException(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
-