Class OverLimitException

All Implemented Interfaces:
Serializable

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.

See Also:
  • Constructor Details

    • OverLimitException

      public OverLimitException(String message)
      Constructs a new OverLimitException with the specified error message.
      Parameters:
      message - Describes the error encountered.