com.jgoodies.binding.beans
Class PropertyUnboundException
public final class PropertyUnboundException
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);
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.
|
PropertyUnboundException
public PropertyUnboundException(String message)
Constructs a new exception instance with the specified detail message.
The cause is not initialized.
message
- the detail message which 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.
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-2008 JGoodies Karsten Lentzsch. All Rights Reserved.