public class PropertyVetoException extends java.lang.Exception
VetoableChangeListener,
Serialized Form| Constructor and Description |
|---|
PropertyVetoException(java.lang.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.
|
public PropertyVetoException(java.lang.String msg, PropertyChangeEvent changeEvent)
msg - the reason for the vetochangeEvent - the PropertyChangeEvent that was thrownpublic PropertyChangeEvent getPropertyChangeEvent()