FileDocCategorySizeDatePackage
PropertyVetoException.javaAPI DocJava SE 5 API1082Fri Aug 26 14:56:58 BST 2005java.beans

PropertyVetoException

public class PropertyVetoException extends Exception
A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value.

Fields Summary
private PropertyChangeEvent
evt
A PropertyChangeEvent describing the vetoed change.
Constructors Summary
public PropertyVetoException(String mess, PropertyChangeEvent evt)
Constructs a PropertyVetoException with a detailed message.

param
mess Descriptive message
param
evt A PropertyChangeEvent describing the vetoed change.

        super(mess);
	this.evt = evt;	
    
Methods Summary
public java.beans.PropertyChangeEventgetPropertyChangeEvent()
Gets the vetoed PropertyChangeEvent.

return
A PropertyChangeEvent describing the vetoed change.

	return evt;