Klasse PageOutOfRangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inet.report.ReportException
com.inet.report.cache.PageOutOfRangeException
- Alle implementierten Schnittstellen:
com.inet.error.HasErrorCode, Serializable
This exception is thrown if a page is requested
with a page number larger than the total number of pages, or is less than 0.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPageOutOfRangeException(int page, int pageCount) Creates a PageOutOfRangeException which is thrown if a page is requested with a page number larger than the total number of pages, or is less than 0.PageOutOfRangeException(int page, int pageCount, String stopCause) Creates a PageOutOfRangeException which is thrown if a page is requested with a page number larger than the total number of pages, or is less than 0. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungfinal intgetPage()Get the requested page number.final intGet the highest legal page number.Von Klasse geerbte Methoden ReportException
getErrorCode, setCause, toStringVon Klasse geerbte Methoden Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Konstruktordetails
-
PageOutOfRangeException
public PageOutOfRangeException(int page, int pageCount) Creates a PageOutOfRangeException which is thrown if a page is requested with a page number larger than the total number of pages, or is less than 0.- Parameter:
page- Number of page requested, which caused the exceptionpageCount- Total number of pages in the report- Seit:
- 6.0
-
PageOutOfRangeException
Creates a PageOutOfRangeException which is thrown if a page is requested with a page number larger than the total number of pages, or is less than 0.- Parameter:
page- Number of page requested, which caused the exceptionpageCount- Total number of pages in the reportstopCause- optional cause of stopping- Seit:
- 16.1
-
-
Methodendetails
-
getPage
public final int getPage()Get the requested page number.- Gibt zurück:
- the requested page that is out of range
- Seit:
- 6.0
-
getPageCount
public final int getPageCount()Get the highest legal page number.- Gibt zurück:
- available pages
- Seit:
- 6.0
-