public final 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.| Modifier and Type | Class and Description |
|---|---|
static interface |
NonRetryableException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NonRetryableException.Builder |
builder() |
boolean |
retryable()
Specifies whether or not an exception can be expected to succeed on a retry.
|
NonRetryableException.Builder |
toBuilder()
Create a
SdkException.Builder initialized with the properties of this SdkException. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic boolean retryable()
SdkExceptionretryable in class SdkExceptionpublic NonRetryableException.Builder toBuilder()
SdkExceptionSdkException.Builder initialized with the properties of this SdkException.toBuilder in class SdkExceptionpublic static NonRetryableException.Builder builder()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.