org.springframework.beans

Class NotReadablePropertyException

  • All Implemented Interfaces:
    java.io.Serializable


    public class NotReadablePropertyException
    extends InvalidPropertyException
    Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method.
    Since:
    1.0.2
    Author:
    Juergen Hoeller
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      NotReadablePropertyException(java.lang.Class<?> beanClass, java.lang.String propertyName)
      Create a new NotReadablePropertyException.
      NotReadablePropertyException(java.lang.Class<?> beanClass, java.lang.String propertyName, java.lang.String msg)
      Create a new NotReadablePropertyException.
      NotReadablePropertyException(java.lang.Class<?> beanClass, java.lang.String propertyName, java.lang.String msg, java.lang.Throwable cause)
      Create a new NotReadablePropertyException.
    • Constructor Detail

      • NotReadablePropertyException

        public NotReadablePropertyException(java.lang.Class<?> beanClass,
                                            java.lang.String propertyName)
        Create a new NotReadablePropertyException.
        Parameters:
        beanClass - the offending bean class
        propertyName - the offending property
      • NotReadablePropertyException

        public NotReadablePropertyException(java.lang.Class<?> beanClass,
                                            java.lang.String propertyName,
                                            java.lang.String msg)
        Create a new NotReadablePropertyException.
        Parameters:
        beanClass - the offending bean class
        propertyName - the offending property
        msg - the detail message
      • NotReadablePropertyException

        public NotReadablePropertyException(java.lang.Class<?> beanClass,
                                            java.lang.String propertyName,
                                            java.lang.String msg,
                                            java.lang.Throwable cause)
        Create a new NotReadablePropertyException.
        Parameters:
        beanClass - the offending bean class
        propertyName - the offending property
        msg - the detail message
        cause - the root cause
        Since:
        4.0.9