Class RetryUtils


  • public final class RetryUtils
    extends Object
    • Method Detail

      • isRequestEntityTooLargeException

        public static boolean isRequestEntityTooLargeException​(SdkException exception)
        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

        public static boolean isServiceException​(SdkException e)
      • isClockSkewException

        public static boolean isClockSkewException​(SdkException exception)
        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

        public static boolean isThrottlingException​(SdkException exception)
        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.