|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jgoodies.binding.beans.PropertyException
com.jgoodies.binding.beans.PropertyAccessException
public final class PropertyAccessException
A runtime exception that describes read and write access problems when getting/setting a Java Bean property.
PropertyAdapter
,
Serialized FormConstructor Summary | |
---|---|
PropertyAccessException(String message,
Throwable cause)
Constructs a new exception instance with the specified detail message and cause. |
Method Summary | |
---|---|
static PropertyAccessException |
createReadAccessException(Object bean,
PropertyAccessor propertyAccessor,
String causeMessage)
Creates and returns a new PropertyAccessException instance for a failed read access for the specified bean, property accessor and cause. |
static PropertyAccessException |
createReadAccessException(Object bean,
PropertyAccessor propertyAccessor,
Throwable cause)
Creates and returns a new PropertyAccessException instance for a failed read access for the specified bean, property accessor and cause. |
static PropertyAccessException |
createWriteAccessException(Object bean,
Object value,
PropertyAccessor propertyAccessor,
String causeMessage)
Creates and returns a new PropertyAccessException instance for a failed write access for the specified bean, value, property accessor and cause. |
static PropertyAccessException |
createWriteAccessException(Object bean,
Object value,
PropertyAccessor propertyAccessor,
Throwable cause)
Creates and returns a new PropertyAccessException instance for a failed write access for the specified bean, value, property accessor 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 |
Constructor Detail |
---|
public PropertyAccessException(String message, Throwable cause)
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.Method Detail |
---|
public static PropertyAccessException createReadAccessException(Object bean, PropertyAccessor propertyAccessor, Throwable cause)
bean
- the target beanpropertyAccessor
- describes the bean's 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 static PropertyAccessException createReadAccessException(Object bean, PropertyAccessor propertyAccessor, String causeMessage)
bean
- the target beanpropertyAccessor
- describes the bean's propertycauseMessage
- describes the cause
public static PropertyAccessException createWriteAccessException(Object bean, Object value, PropertyAccessor propertyAccessor, Throwable cause)
bean
- the target beanvalue
- the value that could not be setpropertyAccessor
- describes the bean's 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 static PropertyAccessException createWriteAccessException(Object bean, Object value, PropertyAccessor propertyAccessor, String causeMessage)
bean
- the target beanvalue
- the value that could not be setpropertyAccessor
- describes the bean's propertycauseMessage
- describes the cause
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |