public class NonRetryableException extends SdkException
SdkException that can be used by clients to
explicitly have an exception not retried. This exception will never be
thrown by the SDK unless explicitly used by the client.
See RetryableException for marking retryable exceptions.| Constructor and Description |
|---|
NonRetryableException(String message) |
NonRetryableException(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 NonRetryableException(String message)
public boolean retryable()
SdkExceptionretryable in class SdkExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.