com.jgoodies.binding.beans
Class PropertyUnboundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jgoodies.binding.beans.PropertyException
                  extended by com.jgoodies.binding.beans.PropertyUnboundException
All Implemented Interfaces:
Serializable

public final class PropertyUnboundException
extends PropertyException

A runtime exception that describes that a Java Bean does not support bound properties. The conditions for bound properties are specified in section 7.4 of the Java Bean Specification. Basically you must provide the following two methods:

 public void addPropertyChangeListener(PropertyChangeListener x);
 public void removePropertyChangeListener(PropertyChangeListener x);
 

Version:
$Revision: 1.7 $
Author:
Karsten Lentzsch
See Also:
BeanAdapter, PropertyAdapter, Serialized Form

Constructor Summary
PropertyUnboundException(String message)
          Constructs a new exception instance with the specified detail message.
PropertyUnboundException(String message, Throwable cause)
          Constructs a new exception instance with the specified detail message and cause.
 
Method Summary
 
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

PropertyUnboundException

public PropertyUnboundException(String message)
Constructs a new exception instance with the specified detail message. The cause is not initialized.

Parameters:
message - the detail message which is saved for later retrieval by the Throwable.getMessage() method.

PropertyUnboundException

public PropertyUnboundException(String message,
                                Throwable cause)
Constructs a new exception instance with the specified detail message and cause.

Parameters:
message - the detail message which is saved for later retrieval by the Throwable.getMessage() method.
cause - the cause which is saved for later retrieval by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.


Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.