public final class TokenAcquisitionFailedException extends RuntimeException
RetryStrategy when a new token cannot be acquired.| Constructor and Description |
|---|
TokenAcquisitionFailedException(String msg)
Exception construction accepting message with no root cause.
|
TokenAcquisitionFailedException(String msg,
RetryToken token,
Throwable cause)
Exception constructor accepting message, retry token, and a root cause.
|
TokenAcquisitionFailedException(String msg,
Throwable cause)
Exception constructor accepting message and a root cause.
|
| Modifier and Type | Method and Description |
|---|---|
RetryToken |
token()
Returns the retry token that tracked the execution.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TokenAcquisitionFailedException(String msg)
public TokenAcquisitionFailedException(String msg, Throwable cause)
public TokenAcquisitionFailedException(String msg, RetryToken token, Throwable cause)
public RetryToken token()
Copyright © 2026. All rights reserved.