@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LimitExceededException extends AmazonGlacierException
Returned if the request results in a vault or account limit being 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()
400 Bad Request
|
String |
getType()
Client
|
void |
setCode(String code)
400 Bad Request
|
void |
setType(String type)
Client
|
LimitExceededException |
withCode(String code)
400 Bad Request
|
LimitExceededException |
withType(String type)
Client
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LimitExceededException(String message)
message - Describes the error encountered.public void setType(String type)
Client
type - Clientpublic String getType()
Client
public LimitExceededException withType(String type)
Client
type - Clientpublic void setCode(String code)
400 Bad Request
code - 400 Bad Requestpublic String getCode()
400 Bad Request
public LimitExceededException withCode(String code)
400 Bad Request
code - 400 Bad RequestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.