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 SummaryConstructors Constructor Description TooManyHitsException(int allowedHits)TooManyHitsException(int allowedHits, int actualHits)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActualHits()intgetAllowedHits()- 
Methods inherited from class com.saperion.ngc.exception.SystemExceptiongetLogMessage
 
- 
 
- 
- 
- 
Constructor Detail- 
TooManyHitsExceptionpublic TooManyHitsException(int allowedHits, int actualHits)- Parameters:
- allowedHits- allowed number of hits
- actualHits- actual number of hits
 
 - 
TooManyHitsExceptionpublic TooManyHitsException(int allowedHits) - Parameters:
- allowedHits- allowed number of hits
 
 
- 
 
-