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
org.neo4j.driver.exceptions.TokenExpiredRetryableException
- All Implemented Interfaces:
Serializable,RetryableException
@Preview(name="AuthToken rotation and session auth support")
public class TokenExpiredRetryableException
extends TokenExpiredException
implements RetryableException
The token provided by the
AuthTokenManager has expired.
This is a retryable variant of TokenExpiredException used when the driver has an explicit
AuthTokenManager that might supply a new token following this failure.
Error code: Neo.ClientError.Security.TokenExpired
-
Constructor Summary
ConstructorsConstructorDescriptionTokenExpiredRetryableException(String code, String message) Constructs a new instance. -
Method Summary
Methods inherited from class org.neo4j.driver.exceptions.Neo4jException
codeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TokenExpiredRetryableException
Constructs a new instance.- Parameters:
code- the codemessage- the message
-