org.springframework.beans
abstract public class: PropertyAccessException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyAccessException
All Implemented Interfaces:
ErrorCoded, Serializable
Direct Known Subclasses:
MethodInvocationException, TypeMismatchException
Superclass for exceptions related to a property access,
such as type mismatch or invocation target exception.
- author:
Rod - Johnson
- author:
Juergen - Hoeller
| Constructor: |
public PropertyAccessException(String msg,
Throwable cause) {
super(msg, cause);
}
Create a new PropertyAccessException without PropertyChangeEvent. Parameters:
msg - the detail message
cause - the root cause
|
public PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
String msg,
Throwable cause) {
super(msg, cause);
this.propertyChangeEvent = propertyChangeEvent;
}
Create a new PropertyAccessException. Parameters:
propertyChangeEvent - the PropertyChangeEvent that resulted in the problem
msg - the detail message
cause - the root cause
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Method from org.springframework.beans.PropertyAccessException Detail: |
public PropertyChangeEvent getPropertyChangeEvent() {
return this.propertyChangeEvent;
}
Return the PropertyChangeEvent that resulted in the problem.
May be null; only available if an actual bean property
was affected. |