org.springframework.beans
Class PropertyAccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.beans.BeansException
                      extended byorg.springframework.beans.PropertyAccessException
All Implemented Interfaces:
ErrorCoded, Serializable
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
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
PropertyAccessException(PropertyChangeEvent propertyChangeEvent, String msg)
          Create a new PropertyAccessException.
PropertyAccessException(PropertyChangeEvent propertyChangeEvent, String msg, Throwable ex)
          Create a new PropertyAccessException.
 
Method Summary
 PropertyChangeEvent getPropertyChangeEvent()
          Return the PropertyChangeEvent that resulted in the problem.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.core.ErrorCoded
getErrorCode
 

Constructor Detail

PropertyAccessException

public PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
                               String msg)
Create a new PropertyAccessException.

Parameters:
propertyChangeEvent - the PropertyChangeEvent that resulted in the problem
msg - the detail message

PropertyAccessException

public PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
                               String msg,
                               Throwable ex)
Create a new PropertyAccessException.

Parameters:
propertyChangeEvent - the PropertyChangeEvent that resulted in the problem
msg - the detail message
ex - the root cause
Method Detail

getPropertyChangeEvent

public PropertyChangeEvent getPropertyChangeEvent()
Return the PropertyChangeEvent that resulted in the problem.



Copyright (C) 2003-2004 The Spring Framework Project.