@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LimitsExceededException extends AWSShieldException
Exception that indicates that the operation would exceed a limit.
AmazonServiceException.ErrorType
Constructor and Description |
---|
LimitsExceededException(String message)
Constructs a new LimitsExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Long |
getLimit() |
String |
getType() |
void |
setLimit(Long limit) |
void |
setType(String type) |
LimitsExceededException |
withLimit(Long limit) |
LimitsExceededException |
withType(String type) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LimitsExceededException(String message)
message
- Describes the error encountered.public void setType(String type)
type
- public String getType()
public LimitsExceededException withType(String type)
type
- public void setLimit(Long limit)
limit
- public Long getLimit()
public LimitsExceededException withLimit(Long limit)
limit
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.