public class TreeExpandVetoException extends Exception
An exception class to be thrown to prevent a tree from expanding or collapsing a tree node.
Exceptions of this type are used by
objects. If such an exception
is thrown, the current expansion or collapse operation of the tree will be
aborted.
TreePreExpansionListener
| Constructor and Description |
|---|
TreeExpandVetoException(TreeExpansionEvent ev,
String msg)
Creates a new instance of
TreeExpandVetoException and
initializes it with the causing event and a message. |
| Modifier and Type | Method and Description |
|---|---|
TreeExpansionEvent |
getEvent()
Returns the event that caused this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TreeExpandVetoException(TreeExpansionEvent ev, String msg)
TreeExpandVetoException and
initializes it with the causing event and a message.ev - the event that triggered this exceptionmsg - the error messagepublic TreeExpansionEvent getEvent()
Copyright © 2016 The JGUIraffe Team. All rights reserved.