Package com.saperion.rmi.serverexception
Class SaRMITooManyResultsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
com.saperion.rmi.serverexception.SaRMIBaseException
com.saperion.rmi.serverexception.SaRMISystemException
com.saperion.rmi.serverexception.SaRMITooManyResultsException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class java.rmi.RemoteException
detail
-
Constructor Summary
ConstructorsConstructorDescriptionSaRMITooManyResultsException
(String message, int allowedMaxResults) Constructor. -
Method Summary
Methods inherited from class com.saperion.rmi.serverexception.SaRMIBaseException
getStackTraceString
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
-
Constructor Details
-
SaRMITooManyResultsException
Constructor.- Parameters:
message
- the error-messageallowedMaxResults
- the maximum number of allowed hits
-
-
Method Details
-
getAllowedMaxResults
public int getAllowedMaxResults()- Returns:
- the maximum number of allowed hits
-