Class SaTooManyResultsException

All Implemented Interfaces:
Serializable

public class SaTooManyResultsException extends SaSystemException
This exception is thrown when a query returned more results than allowed.
Author:
cmerkel
See Also:
  • Constructor Details

    • SaTooManyResultsException

      public SaTooManyResultsException(String errorMessage, int allowedMaxResults)
      Constructor.
      Parameters:
      errorMessage - the error message
      allowedMaxResults - the maximum number of allowed results
    • SaTooManyResultsException

      public SaTooManyResultsException(String errorMessage, Throwable cause, int allowedMaxResults)
      Constructor.
      Parameters:
      errorMessage - the error message
      cause - the causing exception
      allowedMaxResults - the maximum number of allowed results
    • SaTooManyResultsException

      public SaTooManyResultsException(Throwable cause, int allowedMaxResults)
      Constructor.
      Parameters:
      cause - the causing exception
      allowedMaxResults - the maximum number of allowed results
  • Method Details

    • getAllowedMaxResults

      public int getAllowedMaxResults()
      Returns:
      the maximum number of allowed results