Exceptions.retryExhausted(String, Throwable) and Exceptions.isRetryExhausted(Throwable) instead.@Deprecated public class RetryExhaustedException extends RuntimeException
Retry.timeout(java.time.Duration) or Retry.retryMax(long).
For retries, Throwable.getCause() returns the original exception from the
last retry attempt that generated this exception.| Constructor and Description |
|---|
RetryExhaustedException()
Deprecated.
|
RetryExhaustedException(String message)
Deprecated.
|
RetryExhaustedException(String message,
Throwable cause)
Deprecated.
|
RetryExhaustedException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Deprecated.
|
RetryExhaustedException(Throwable cause)
Deprecated.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RetryExhaustedException()
public RetryExhaustedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
public RetryExhaustedException(String message)
public RetryExhaustedException(Throwable cause)