public class AwsServiceException extends SdkServiceException
SdkServiceException that represents an error response returned
by an Amazon web service.
AmazonServiceException provides callers several pieces of information that can be used to obtain more information about the error and why it occurred. In particular, the errorType field can be used to determine if the caller's request was invalid, or the service encountered an error on the server side while processing it.
SdkServiceException,
Serialized Form| Constructor and Description |
|---|
AwsServiceException(String errorMessage) |
AwsServiceException(String errorMessage,
Exception cause) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
additionalThrottlingCondition()
Can be overridden by subclasses to provide additional throttling conditions.
|
boolean |
isClockSkewException()
Specifies whether or not an exception is caused by clock skew.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, isThrottlingException, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AwsServiceException(String errorMessage)
public boolean isClockSkewException()
SdkServiceExceptionisClockSkewException in class SdkServiceExceptionpublic boolean additionalThrottlingCondition()
SdkServiceExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.