public class TooManyRequestsException extends AmazonServiceException
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()
Returns the value of the RetryAfterSeconds property for this object.
|
String |
getType()
Returns the value of the Type property for this object.
|
void |
setRetryAfterSeconds(String retryAfterSeconds)
Sets the value of the RetryAfterSeconds property for this object.
|
void |
setType(String type)
Sets the value of the Type property for this object.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, 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 String getRetryAfterSeconds()
public void setRetryAfterSeconds(String retryAfterSeconds)
retryAfterSeconds
- The new value for this object's RetryAfterSeconds property.public String getType()
public void setType(String type)
type
- The new value for this object's Type property.Copyright © 2015. All rights reserved.