public class PropertyVetoException extends Exception
VetoableChangeListener,
Serialized Form| Constructor and Description |
|---|
PropertyVetoException(String msg,
PropertyChangeEvent changeEvent)
Instantiate this exception with the given message and property change.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyChangeEvent |
getPropertyChangeEvent()
Get the PropertyChange event that was vetoed.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PropertyVetoException(String msg, PropertyChangeEvent changeEvent)
msg - the reason for the vetochangeEvent - the PropertyChangeEvent that was thrownpublic PropertyChangeEvent getPropertyChangeEvent()