Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » [javadoc | source]
org.springframework.beans
public class: InvalidPropertyException [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.FatalBeanException
                     org.springframework.beans.InvalidPropertyException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    NotWritablePropertyException, NullValueInNestedPathException, NotReadablePropertyException

Exception thrown when referring to an invalid bean property. Carries the offending bean class and property name.
Constructor:
 public InvalidPropertyException(Class beanClass,
    String propertyName,
    String msg) 
    Create a new InvalidPropertyException.
    Parameters:
    beanClass - the offending bean class
    propertyName - the offending property
    msg - the detail message
 public InvalidPropertyException(Class beanClass,
    String propertyName,
    String msg,
    Throwable cause) 
    Create a new InvalidPropertyException.
    Parameters:
    beanClass - the offending bean class
    propertyName - the offending property
    msg - the detail message
    cause - the root cause
Method from org.springframework.beans.InvalidPropertyException Summary:
getBeanClass,   getPropertyName
Methods from org.springframework.beans.BeansException:
equals,   hashCode
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.InvalidPropertyException Detail:
 public Class getBeanClass() 
    Return the offending bean class.
 public String getPropertyName() 
    Return the name of the offending property.