Class RetryUtils
java.lang.Object
software.amazon.awssdk.core.retry.RetryUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
static boolean
isThrottlingException
(SdkException exception) Returns true if the specified exception is a throttling error.static SdkServiceException
-
Method Details
-
isRequestEntityTooLargeException
Returns true if the specified exception is a request entity too large error.- Parameters:
exception
- The exception to test.- Returns:
- True if the exception resulted from a request entity too large error message from a service, otherwise false.
-
isServiceException
-
toServiceException
-
isClockSkewException
Returns true if the specified exception is a clock skew error.- Parameters:
exception
- The exception to test.- Returns:
- True if the exception resulted from a clock skews error message from a service, otherwise false.
-
isThrottlingException
Returns true if the specified exception is a throttling error.- Parameters:
exception
- The exception to test.- Returns:
- True if the exception resulted from a throttling error message from a service, otherwise false.
-