@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, 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 setErrorCode(String errorCode)
429
setErrorCode
in class AmazonServiceException
errorCode
- 429public String getErrorCode()
429
getErrorCode
in class AmazonServiceException
public TooManyRequestsException withErrorCode(String errorCode)
429
errorCode
- 429