Class 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

Since:
5.8
See Also:
  • Constructor Details

    • TokenExpiredRetryableException

      public TokenExpiredRetryableException(String code, String message)
      Constructs a new instance.
      Parameters:
      code - the code
      message - the message