com.amazonaws.services.sqs.model
Class OverLimitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.amazonaws.AmazonClientException
                  extended by com.amazonaws.AmazonServiceException
                      extended by com.amazonaws.services.sqs.model.OverLimitException
All Implemented Interfaces:
Serializable

public class OverLimitException
extends AmazonServiceException

The operation 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.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
 
Constructor Summary
OverLimitException(String message)
          Constructs a new OverLimitException with the specified error message.
 
Method Summary
 
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorType, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OverLimitException

public OverLimitException(String message)
Constructs a new OverLimitException with the specified error message.

Parameters:
message - Describes the error encountered.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.