com.jgoodies.binding.beans

Class PropertyNotFoundException


public final class PropertyNotFoundException
extends PropertyException

A runtime exception that describes that a Java Bean property could not be found.
Version:
$Revision: 1.8 $
Author:
Karsten Lentzsch
See Also:
PropertyAdapter

Constructor Summary

PropertyNotFoundException(String propertyName, Class beanClass, Throwable cause)
Constructs a new exception instance with the specified detail message and cause.
PropertyNotFoundException(String propertyName, Object bean)
Constructs a new exception instance with the specified detail message.
PropertyNotFoundException(String propertyName, Object bean, Throwable cause)
Constructs a new exception instance with the specified detail message and cause.

Constructor Details

PropertyNotFoundException

public PropertyNotFoundException(String propertyName,
                                 Class beanClass,
                                 Throwable cause)
Constructs a new exception instance with the specified detail message and cause.
Parameters:
propertyName - the name of the property that could not be found
beanClass - the Java Bean class used to lookup the property
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.

PropertyNotFoundException

public PropertyNotFoundException(String propertyName,
                                 Object bean)
Constructs a new exception instance with the specified detail message. The cause is not initialized.
Parameters:
propertyName - the name of the property that could not be found
bean - the Java Bean used to lookup the property

PropertyNotFoundException

public PropertyNotFoundException(String propertyName,
                                 Object bean,
                                 Throwable cause)
Constructs a new exception instance with the specified detail message and cause.
Parameters:
propertyName - the name of the property that could not be found
bean - the Java Bean used to lookup the property
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.