Class SaRMITooManyResultsException

All Implemented Interfaces:
Serializable

public class SaRMITooManyResultsException extends SaRMISystemException
This exception is thrown when a query returned more results as allowed by the value of the parameter rmi.query.maxresults.
Author:
cmerkel
See Also:
  • Constructor Details

    • SaRMITooManyResultsException

      public SaRMITooManyResultsException(String message, int allowedMaxResults)
      Constructor.
      Parameters:
      message - the error-message
      allowedMaxResults - the maximum number of allowed hits
  • Method Details

    • getAllowedMaxResults

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