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