public final class NonRetryableException extends SdkClientException
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 |
protected static class |
NonRetryableException.BuilderImpl |
| Modifier | Constructor and Description |
|---|---|
protected |
NonRetryableException(NonRetryableException.Builder b) |
| 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
SdkClientException.Builder initialized with the properties of this SdkClientException. |
create, createaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected NonRetryableException(NonRetryableException.Builder b)
public boolean retryable()
SdkExceptionretryable in class SdkExceptionpublic NonRetryableException.Builder toBuilder()
SdkClientExceptionSdkClientException.Builder initialized with the properties of this SdkClientException.toBuilder in class SdkClientExceptionpublic static NonRetryableException.Builder builder()
Copyright © 2019. All rights reserved.