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

All Implemented Interfaces:
    Serializable

Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method.
Constructor:
 public NotReadablePropertyException(Class beanClass,
    String propertyName) 
    Create a new NotReadablePropertyException.
    Parameters:
    beanClass - the offending bean class
    propertyName - the offending property
 public NotReadablePropertyException(Class beanClass,
    String propertyName,
    String msg) 
    Create a new NotReadablePropertyException.
    Parameters:
    beanClass - the offending bean class
    propertyName - the offending property
    msg - the detail message
Methods from org.springframework.beans.InvalidPropertyException:
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