@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LimitExceededException extends AmazonDLMException
The request failed because a limit was exceeded.
AmazonServiceException.ErrorType
Constructor and Description |
---|
LimitExceededException(String message)
Constructs a new LimitExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getResourceType()
Value is the type of resource for which a limit was exceeded.
|
void |
setCode(String code) |
void |
setResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
|
LimitExceededException |
withCode(String code) |
LimitExceededException |
withResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
|
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 LimitExceededException(String message)
message
- Describes the error encountered.public void setCode(String code)
code
- public String getCode()
public LimitExceededException withCode(String code)
code
- public void setResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
resourceType
- Value is the type of resource for which a limit was exceeded.public String getResourceType()
Value is the type of resource for which a limit was exceeded.
public LimitExceededException withResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
resourceType
- Value is the type of resource for which a limit was exceeded.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.