com.googlecode.openbeans
Class PropertyVetoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.googlecode.openbeans.PropertyVetoException
All Implemented Interfaces:
Serializable

public class PropertyVetoException
extends Exception

Indicates that a proposed property change is unacceptable.

See Also:
Serialized Form

Constructor Summary
PropertyVetoException(String message, PropertyChangeEvent event)
           Constructs an instance with a message and the change event.
 
Method Summary
 PropertyChangeEvent getPropertyChangeEvent()
           Gets the property change event.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyVetoException

public PropertyVetoException(String message,
                             PropertyChangeEvent event)

Constructs an instance with a message and the change event.

Parameters:
message - A description of the veto.
event - The event that was vetoed.
Method Detail

getPropertyChangeEvent

public PropertyChangeEvent getPropertyChangeEvent()

Gets the property change event.

Returns:
An instance of PropertyChangeEvent


Copyright © 2013. All Rights Reserved.