com.jgoodies.binding.beans
Class PropertyUnboundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jgoodies.binding.beans.PropertyException
com.jgoodies.binding.beans.PropertyUnboundException
- All Implemented Interfaces:
- java.io.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(java.lang.String message)
Constructs a new exception instance with the specified detail message. |
PropertyUnboundException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception instance with the specified detail message
and cause. |
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 |
PropertyUnboundException
public PropertyUnboundException(java.lang.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(java.lang.String message,
java.lang.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.