Package com.amazonaws.retry
Class RetryUtils
java.lang.Object
com.amazonaws.retry.RetryUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns true if the specified exception is a clock skew error.static boolean
Returns true if the specified exception is a request entity too large error.static boolean
Returns true if the specified exception is a retryable service side exception.static boolean
Returns true if the specified exception is a throttling error.
-
Constructor Details
-
RetryUtils
public RetryUtils()
-
-
Method Details
-
isRetryableServiceException
Returns true if the specified exception is a retryable service side exception.- Parameters:
ase
- The exception to test.- Returns:
- True if the exception resulted from a retryable service error, otherwise false.
-
isThrottlingException
Returns true if the specified exception is a throttling error.- Parameters:
ase
- The exception to test.- Returns:
- True if the exception resulted from a throttling error message from a service, otherwise false.
-
isRequestEntityTooLargeException
Returns true if the specified exception is a request entity too large error.- Parameters:
ase
- The exception to test.- Returns:
- True if the exception resulted from a request entity too large error message from a service, otherwise false.
-
isClockSkewError
Returns true if the specified exception is a clock skew error.- Parameters:
ase
- The exception to test.- Returns:
- True if the exception resulted from a clock skews error message from a service, otherwise false.
-