| org.springframework.beans.BeansException org.springframework.beans.FatalBeanException org.springframework.beans.InvalidPropertyException org.springframework.beans.NotWritablePropertyException
NotWritablePropertyException | public class NotWritablePropertyException extends InvalidPropertyException (Code) | | Exception thrown on an attempt to set the value of a property
that isn't writable, because there's no setter method. In some
situations alternatives are presented.
author: Rod Johnson author: Alef Arendsen author: Arjen Poutsma |
Method Summary | |
public String[] | getPossibleMatches() Return suggestions for actual bean property names that closely match
the invalid property name, if any. |
NotWritablePropertyException | public NotWritablePropertyException(Class beanClass, String propertyName)(Code) | | Create a new NotWritablePropertyException.
Parameters: beanClass - the offending bean class Parameters: propertyName - the offending property name |
NotWritablePropertyException | public NotWritablePropertyException(Class beanClass, String propertyName, String msg)(Code) | | Create a new NotWritablePropertyException.
Parameters: beanClass - the offending bean class Parameters: propertyName - the offending property name Parameters: msg - the detail message |
NotWritablePropertyException | public NotWritablePropertyException(Class beanClass, String propertyName, String msg, Throwable cause)(Code) | | Create a new NotWritablePropertyException.
Parameters: beanClass - the offending bean class Parameters: propertyName - the offending property name Parameters: msg - the detail message Parameters: cause - the root cause |
NotWritablePropertyException | public NotWritablePropertyException(Class beanClass, String propertyName, String msg, String[] possibleMatches)(Code) | | Create a new NotWritablePropertyException.
Parameters: beanClass - the offending bean class Parameters: propertyName - the offending property name Parameters: msg - the detail message Parameters: possibleMatches - suggestions for actual bean property namesthat closely match the invalid property name |
getPossibleMatches | public String[] getPossibleMatches()(Code) | | Return suggestions for actual bean property names that closely match
the invalid property name, if any.
|
|
|