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 |
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
SdkException.Builder initialized with the properties of this SdkException. |
addSuppressed, 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()
SdkExceptionSdkException.Builder initialized with the properties of this SdkException.toBuilder in class SdkExceptionpublic static NonRetryableException.Builder builder()
Copyright © 2018. All rights reserved.