Class RetryUtils

java.lang.Object
software.amazon.awssdk.core.retry.RetryUtils

public final class RetryUtils extends Object
  • Method Details

    • 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)
    • toServiceException

      public static SdkServiceException toServiceException(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.