@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TooManyRequestsException extends AWSMobileException
Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.
AmazonServiceException.ErrorType
Constructor and Description |
---|
TooManyRequestsException(String message)
Constructs a new TooManyRequestsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getRetryAfterSeconds() |
void |
setRetryAfterSeconds(String retryAfterSeconds) |
TooManyRequestsException |
withRetryAfterSeconds(String retryAfterSeconds) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooManyRequestsException(String message)
message
- Describes the error encountered.public void setRetryAfterSeconds(String retryAfterSeconds)
retryAfterSeconds
- public String getRetryAfterSeconds()
public TooManyRequestsException withRetryAfterSeconds(String retryAfterSeconds)
retryAfterSeconds
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.