public class RetryUtils extends 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 |
isRequestEntityTooLargeException(AmazonServiceException ase)
Returns true if the specified exception is a request entity too large error.
|
static boolean |
isRetryableServiceException(AmazonServiceException ase)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isThrottlingException(AmazonServiceException ase)
Returns true if the specified exception is a throttling error.
|
public static boolean isRetryableServiceException(AmazonServiceException ase)
ase
- The exception to test.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.