public class RetryUtils
extends java.lang.Object
Constructor and Description |
---|
RetryUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isClockSkewError(AmazonServiceException ase)
Returns true if the specified exception is a clock skew error.
|
static boolean |
isInterrupted(java.lang.Throwable error)
Return true if the error is caused by interruption.
|
static boolean |
isRequestEntityTooLargeException(AmazonServiceException ase)
Returns true if the specified exception is a request entity too large
error.
|
static boolean |
isThrottlingException(AmazonServiceException ase)
Returns true if the specified exception is a throttling error.
|
public static boolean isThrottlingException(AmazonServiceException ase)
ase
- The exception to test.public static boolean isRequestEntityTooLargeException(AmazonServiceException ase)
ase
- The exception to test.public static boolean isClockSkewError(AmazonServiceException ase)
ase
- The exception to test.public static boolean isInterrupted(java.lang.Throwable error)
error
- throwableCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.