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()
The number of seconds the caller should wait before retrying.
|
String |
getType()
Returns the value of the type property for this object.
|
void |
setRetryAfterSeconds(String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
|
void |
setType(String type)
Sets the value of type
|
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()
The number of seconds the caller should wait before retrying.
The number of seconds the caller should wait before retrying.
public void setRetryAfterSeconds(String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
retryAfterSeconds
- The number of seconds the caller should wait before retrying.
public String getType()
public void setType(String type)
type
- The new value for the type property for this object.Copyright © 2016. All rights reserved.