Save This Page
Home » spring-framework-2.5.4 » org.springframework » beans » [javadoc | source]
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.
Constructor:
 public PropertyAccessException(String msg,
    Throwable cause) 
    Create a new PropertyAccessException without PropertyChangeEvent.
    Parameters:
    msg - the detail message
    cause - the root cause
 public PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
    String msg,
    Throwable cause) 
    Create a new PropertyAccessException.
    Parameters:
    propertyChangeEvent - the PropertyChangeEvent that resulted in the problem
    msg - the detail message
    cause - the root cause
Method from org.springframework.beans.PropertyAccessException Summary:
getPropertyChangeEvent
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.PropertyAccessException Detail:
 public PropertyChangeEvent getPropertyChangeEvent() 
    Return the PropertyChangeEvent that resulted in the problem. May be null; only available if an actual bean property was affected.