public class RetryableException extends SdkException
SdkException that can be used by clients to
explicitly have an exception retried. This exception will never be
thrown by the SDK unless explicitly used by the client.
See NonRetryableException for marking non-retryable exceptions.| Constructor and Description |
|---|
RetryableException(String message) |
RetryableException(String message,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
retryable()
Specifies whether or not an exception can be expected to succeed on a retry.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RetryableException(String message)
public boolean retryable()
SdkExceptionretryable in class SdkExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.