public class PagingVetoException extends Exception
IPagingModelListener
in
situations where they want to veto a page change. A listener might decide for
a veto if for example the information for the next page is not available,
yet. The veto of a single listener is enough to interrupt the change.Constructor and Description |
---|
PagingVetoException(PagingEvent evt)
Constructs a new paging veto exception.
|
PagingVetoException(PagingEvent evt,
String message)
Constructs a new paging veto exception.
|
Modifier and Type | Method and Description |
---|---|
PagingEvent |
getPagingEvent()
Returns the paging event that was vetoed.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PagingVetoException(PagingEvent evt)
evt
- the paging event that is being vetoedpublic PagingVetoException(PagingEvent evt, String message)
evt
- the paging event that is being vetoedmessage
- an additional message describing the cause of the vetopublic PagingEvent getPagingEvent()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.