Class LimitExceededException

  • All Implemented Interfaces:
    Serializable

    public class LimitExceededException
    extends AmazonServiceException

    The subscriber exceeded the maximum number of operations. This exception can occur when listing objects such as DataSource.

    See Also:
    Serialized Form
    • Constructor Detail

      • LimitExceededException

        public LimitExceededException​(String message)
        Constructs a new LimitExceededException with the specified error message.
        Parameters:
        message - Describes the error encountered.
    • Method Detail

      • setCode

        public void setCode​(Integer code)
        Parameters:
        code -
      • getCode

        public Integer getCode()
        Returns:
      • withCode

        public LimitExceededException withCode​(Integer code)
        Parameters:
        code -
        Returns:
        Returns a reference to this object so that method calls can be chained together.