com.dlsc.flexgantt.model.paging
Class PagingVetoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.dlsc.flexgantt.model.paging.PagingVetoException
- All Implemented Interfaces:
- java.io.Serializable
public class PagingVetoException
- extends java.lang.Exception
A special exception type used by instances of 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.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PagingVetoException
public PagingVetoException(PagingEvent evt)
- Constructs a new paging veto exception.
- Parameters:
evt
- the paging event that is being vetoed- Since:
- 1.0
PagingVetoException
public PagingVetoException(PagingEvent evt,
java.lang.String message)
- Constructs a new paging veto exception.
- Parameters:
evt
- the paging event that is being vetoedmessage
- an additional message describing the cause of the veto- Since:
- 1.0
getPagingEvent
public PagingEvent getPagingEvent()
- Returns the paging event that was vetoed.
- Returns:
- the event being vetoed
- Since:
- 1.0