Class RetryUtils


  • public class RetryUtils
    extends Object
    • Constructor Detail

      • RetryUtils

        public RetryUtils()
    • Method Detail

      • isRetryableServiceException

        public static boolean isRetryableServiceException​(AmazonServiceException ase)
        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

        public static boolean isThrottlingException​(AmazonServiceException ase)
        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

        public static boolean isRequestEntityTooLargeException​(AmazonServiceException ase)
        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

        public static boolean isClockSkewError​(AmazonServiceException ase)
        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.