public static final class Retry.RetryExceptionally<RetryT extends java.lang.Exception>
extends java.lang.Object
Retry.RetryWithBackoff.retryingOn(Class) to add the type of exception that should result in a retry.
Any subtype of this exception will be retried unless the subtype is passed to throwingOn(Class).| Modifier and Type | Method and Description |
|---|---|
<ThrowsT extends java.lang.Exception> |
throwingOn(java.lang.Class<ThrowsT> throwType) |
public <ThrowsT extends java.lang.Exception> Retry.RetryAndThrowExceptionally<RetryT,ThrowsT> throwingOn(java.lang.Class<ThrowsT> throwType)