Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.beans

Class PropertyVetoException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.beans.PropertyVetoException


public class PropertyVetoException

extends Exception

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

Since:Author:See Also:

Constructor Summary

PropertyVetoException(java.lang.String msg, java.beans.PropertyChangeEvent changeEvent)

Instantiate this exception with the given message and property change.

Method Summary

java.beans.PropertyChangeEventgetPropertyChangeEvent()

Get the PropertyChange event that was vetoed.

Constructor Details

PropertyVetoException

public PropertyVetoException(java.lang.String msg, java.beans.PropertyChangeEvent changeEvent)

Instantiate this exception with the given message and property change.

Parameters:


Method Details

getPropertyChangeEvent

public PropertyChangeEvent getPropertyChangeEvent()

Get the PropertyChange event that was vetoed.

Returns: