JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.retry

Class RetryUtils



  • public class RetryUtils
    extends Object 
    • Constructor Detail

      • RetryUtils

        public RetryUtils()
    • Method Detail

      • isRetryableServiceException

        public static boolean isRetryableServiceException(SdkBaseException exception)
        Returns true if the specified exception is a retryable service side exception.
        Parameters:
        exception - The exception to test.
        Returns:
        True if the exception resulted from a retryable service error, otherwise false.
      • isRetryableServiceException

        public static boolean isRetryableServiceException(AmazonServiceException exception)
        Returns true if the specified exception is a retryable service side exception.
        Parameters:
        exception - The exception to test.
        Returns:
        True if the exception resulted from a retryable service error, otherwise false.
      • isThrottlingException

        public static boolean isThrottlingException(SdkBaseException 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.
      • isThrottlingException

        public static boolean isThrottlingException(AmazonServiceException 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.
      • isRequestEntityTooLargeException

        public static boolean isRequestEntityTooLargeException(SdkBaseException 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.
      • isRequestEntityTooLargeException

        public static boolean isRequestEntityTooLargeException(AmazonServiceException 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.
      • isClockSkewError

        public static boolean isClockSkewError(SdkBaseException exception)
        Returns true if the specified exception is definitely a clock skew error. This cannot determine all instances of clock skew errors. For example, not all HEAD requests return an error code, so there is no way to determine whether a failed HEAD response is definitely a clock skew error.
        Parameters:
        exception - The exception to test.
        Returns:
        True if the exception is definitely a clock skew error, otherwise false.
        See Also:
        ClockSkewAdjuster
      • isClockSkewError

        public static boolean isClockSkewError(AmazonServiceException exception)
        Returns true if the specified exception is definitely a clock skew error. This cannot determine all instances of clock skew errors. For example, not all HEAD requests return an error code, so there is no way to determine whether a failed HEAD response is definitely a clock skew error.
        Parameters:
        exception - The exception to test.
        Returns:
        True if the exception is definitely a clock skew error, otherwise false.
        See Also:
        ClockSkewAdjuster
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /