java.beans

Class PropertyVetoException

public class PropertyVetoException extends Exception

PropertyVetoException is thrown when a VetoableChangeListener doesn't like the proposed change.

Since: 1.1

See Also: VetoableChangeListener

UNKNOWN: updated to 1.4

Constructor Summary
PropertyVetoException(String msg, PropertyChangeEvent changeEvent)
Instantiate this exception with the given message and property change.
Method Summary
PropertyChangeEventgetPropertyChangeEvent()
Get the PropertyChange event that was vetoed.

Constructor Detail

PropertyVetoException

public PropertyVetoException(String msg, PropertyChangeEvent changeEvent)
Instantiate this exception with the given message and property change.

Parameters: msg the reason for the veto changeEvent the PropertyChangeEvent that was thrown

Method Detail

getPropertyChangeEvent

public PropertyChangeEvent getPropertyChangeEvent()
Get the PropertyChange event that was vetoed.

Returns: the vetoed change