Class TokenAcquisitionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.retries.api.TokenAcquisitionFailedException
- All Implemented Interfaces:
Serializable
Exception thrown by
RetryStrategy
when a new token cannot be acquired.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionException construction accepting message with no root cause.TokenAcquisitionFailedException
(String msg, Throwable cause) Exception constructor accepting message and a root cause.TokenAcquisitionFailedException
(String msg, RetryToken token, Throwable cause) Exception constructor accepting message, retry token, and a root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TokenAcquisitionFailedException
Exception construction accepting message with no root cause. -
TokenAcquisitionFailedException
-
TokenAcquisitionFailedException
Exception constructor accepting message, retry token, and a root cause.
-
-
Method Details
-
token
Returns the retry token that tracked the execution.- Returns:
- the retry token that tracked the execution.
-