Class NotReadablePropertyException

All Implemented Interfaces:
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:
  • Constructor Details

    • NotReadablePropertyException

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

      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
    • NotReadablePropertyException

      public NotReadablePropertyException(Class<?> beanClass, String propertyName, String msg, 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