public final class RetryUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isClockSkewException(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 |
isServiceException(SdkException e) |
static boolean |
isThrottlingException(SdkException exception)
Returns true if the specified exception is a throttling error.
|
static SdkServiceException |
toServiceException(SdkException e) |
public static boolean isRequestEntityTooLargeException(SdkException exception)
exception
- The exception to test.public static boolean isServiceException(SdkException e)
public static SdkServiceException toServiceException(SdkException e)
public static boolean isClockSkewException(SdkException exception)
exception
- The exception to test.public static boolean isThrottlingException(SdkException exception)
exception
- The exception to test.Copyright © 2018. All rights reserved.