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, toString
public NonRetryableException(String message)
public boolean retryable()
SdkException
retryable
in class SdkException
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.