public class OverLimitException extends AmazonServiceException
The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. AddPermission returns this error if the maximum number of permissions for the queue has already been reached.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
OverLimitException(String message)
Constructs a new OverLimitException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OverLimitException(String message)
message - Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.