Class SaRMITooManyResultsException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.rmi.RemoteException

        detail
    • Constructor Summary

      Constructors 
      Constructor Description
      SaRMITooManyResultsException​(java.lang.String message, int allowedMaxResults)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAllowedMaxResults()  
      • Methods inherited from class java.rmi.RemoteException

        getCause, getMessage
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SaRMITooManyResultsException

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

      • getAllowedMaxResults

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