Package com.saperion.ngc.exception
Class TooManyHitsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.saperion.ngc.exception.NgcException
-
- com.saperion.ngc.exception.SystemException
-
- com.saperion.ngc.exception.TooManyHitsException
-
- All Implemented Interfaces:
java.io.Serializable
public class TooManyHitsException extends SystemException
Exception thrown when a query returned more hits than set in the maxRecords property of the result list.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooManyHitsException(int allowedHits)TooManyHitsException(int allowedHits, int actualHits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActualHits()intgetAllowedHits()-
Methods inherited from class com.saperion.ngc.exception.SystemException
getLogMessage
-
-
-
-
Constructor Detail
-
TooManyHitsException
public TooManyHitsException(int allowedHits, int actualHits)- Parameters:
allowedHits- allowed number of hitsactualHits- actual number of hits
-
TooManyHitsException
public TooManyHitsException(int allowedHits)
- Parameters:
allowedHits- allowed number of hits
-
-