public class LimitExceededException extends AmazonServiceException
The subscriber exceeded the maximum number of operations. This exception can
occur when listing objects such as DataSource
.
AmazonServiceException.ErrorType
Constructor and Description |
---|
LimitExceededException(String message)
Constructs a new LimitExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode()
Returns the value of the Code property for this object.
|
void |
setCode(Integer code)
Sets the value of the Code property for this object.
|
LimitExceededException |
withCode(Integer code)
Sets the value of the Code property for this object.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LimitExceededException(String message)
message
- Describes the error encountered.public void setCode(Integer code)
code
- The new value for the Code property for this object.public Integer getCode()
public LimitExceededException withCode(Integer code)
code
- The new value for the Code property for this object.Copyright © 2015. All rights reserved.