com.amazonaws.retry
Class RetryUtils
java.lang.Object
com.amazonaws.retry.RetryUtils
public class RetryUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetryUtils
public RetryUtils()
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.
Copyright © 2016. All rights reserved.