public final class PropertyNotFoundException extends PropertyException
PropertyAdapter
,
Serialized FormConstructor and Description |
---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PropertyNotFoundException(String propertyName, Object bean)
propertyName
- the name of the property that could not be foundbean
- the Java Bean used to lookup the propertypublic PropertyNotFoundException(String propertyName, Object bean, Throwable cause)
propertyName
- the name of the property that could not be foundbean
- the Java Bean used to lookup the propertycause
- 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.public PropertyNotFoundException(String propertyName, Class<?> beanClass, Throwable cause)
propertyName
- the name of the property that could not be foundbeanClass
- the Java Bean class used to lookup the propertycause
- 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-2015 JGoodies Software GmbH. All Rights Reserved.