com.jgoodies.binding.beans

Class PropertyUnboundException


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 Secification. Basically you must provide the following two methods:
 public void addPropertyChangeListener(PropertyChangeListener x);
 public void removePropertyChangeListener(PropertyChangeListener x);
 
Version:
$Revision: 1.3 $
Author:
Karsten Lentzsch
See Also:
BeanAdapter, PropertyAdapter

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.

Constructor Details

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. The detail message is saved for later retrieval by the 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 getMessage() method).
cause - the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

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