Package com.saperion.exception
Class SaTooManyResultsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.exception.SaBasicException
com.saperion.exception.SaSystemException
com.saperion.exception.SaTooManyResultsException
- All Implemented Interfaces:
- Serializable
This exception is thrown when a query returned more results than allowed.
- Author:
- cmerkel
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionSaTooManyResultsException(String errorMessage, int allowedMaxResults) Constructor.SaTooManyResultsException(String errorMessage, Throwable cause, int allowedMaxResults) Constructor.SaTooManyResultsException(Throwable cause, int allowedMaxResults) Constructor.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
SaTooManyResultsExceptionConstructor.- Parameters:
- errorMessage- the error message
- allowedMaxResults- the maximum number of allowed results
 
- 
SaTooManyResultsExceptionConstructor.- Parameters:
- errorMessage- the error message
- cause- the causing exception
- allowedMaxResults- the maximum number of allowed results
 
- 
SaTooManyResultsExceptionConstructor.- Parameters:
- cause- the causing exception
- allowedMaxResults- the maximum number of allowed results
 
 
- 
- 
Method Details- 
getAllowedMaxResultspublic int getAllowedMaxResults()- Returns:
- the maximum number of allowed results
 
 
-