org.springframework.beans
Class PropertyAccessException
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:
- Serializable, ErrorCoded
- Direct Known Subclasses:
- MethodInvocationException, TypeMismatchException
public abstract class PropertyAccessException
- extends BeansException
- implements ErrorCoded
Superclass for exceptions related to a property access,
such as type mismatch or invocation target exception.
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
- Serialized Form
PropertyAccessException
public PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
String msg,
Throwable cause)
- Create a new PropertyAccessException.
- Parameters:
propertyChangeEvent
- the PropertyChangeEvent that resulted in the problemmsg
- the detail messagecause
- the root cause
PropertyAccessException
public PropertyAccessException(String msg,
Throwable cause)
- Create a new PropertyAccessException without PropertyChangeEvent.
- Parameters:
msg
- the detail messagecause
- the root cause
getPropertyChangeEvent
public PropertyChangeEvent getPropertyChangeEvent()
- Return the PropertyChangeEvent that resulted in the problem.
May be
null
; only available if an actual bean property
was affected.
Copyright © 2002-2008 The Spring Framework.