public class RetryUtils extends Object
Constructor | Description |
---|---|
RetryUtils() |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isClockSkewError(SdkBaseException exception) |
Returns true if the specified exception is a clock skew error.
|
static boolean |
isRequestEntityTooLargeException(SdkBaseException exception) |
Returns true if the specified exception is a request entity too large error.
|
static boolean |
isRetryableServiceException(SdkBaseException exception) |
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isThrottlingException(AmazonServiceException exception) |
Deprecated.
In favor of
isThrottlingException(SdkBaseException) |
static boolean |
isThrottlingException(SdkBaseException exception) |
Returns true if the specified exception is a throttling error.
|
public static boolean isRetryableServiceException(SdkBaseException exception)
exception
- The exception to test.@Deprecated public static boolean isThrottlingException(AmazonServiceException exception)
isThrottlingException(SdkBaseException)
public static boolean isThrottlingException(SdkBaseException exception)
exception
- The exception to test.public static boolean isRequestEntityTooLargeException(SdkBaseException exception)
exception
- The exception to test.public static boolean isClockSkewError(SdkBaseException exception)
exception
- The exception to test.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.