@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AWSB2BiException
The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ThrottlingException(String message)
Constructs a new ThrottlingException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getRetryAfterSeconds()
The server attempts to retry a command that was throttled.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
The server attempts to retry a command that was throttled.
|
ThrottlingException |
withRetryAfterSeconds(Integer retryAfterSeconds)
The server attempts to retry a command that was throttled.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ThrottlingException(String message)
message
- Describes the error encountered.public void setRetryAfterSeconds(Integer retryAfterSeconds)
The server attempts to retry a command that was throttled.
retryAfterSeconds
- The server attempts to retry a command that was throttled.public Integer getRetryAfterSeconds()
The server attempts to retry a command that was throttled.
public ThrottlingException withRetryAfterSeconds(Integer retryAfterSeconds)
The server attempts to retry a command that was throttled.
retryAfterSeconds
- The server attempts to retry a command that was throttled.