@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TooManyRequestsException extends AWSServerlessApplicationRepositoryException
The client is sending more than the allowed number of requests per unit of time.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
TooManyRequestsException(String message)
Constructs a new TooManyRequestsException with the specified error message. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getErrorCode()
 429 
 | 
void | 
setErrorCode(String errorCode)
 429 
 | 
TooManyRequestsException | 
withErrorCode(String errorCode)
 429 
 | 
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TooManyRequestsException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
429
setErrorCode in class AmazonServiceExceptionerrorCode - 429public String getErrorCode()
429
getErrorCode in class AmazonServiceExceptionpublic TooManyRequestsException withErrorCode(String errorCode)
429
errorCode - 429Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.