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