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.NotWritablePropertyException |
Exception thrown on an attempt to set the value of a property that is not writable (typically because there is no setter method).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new NotWritablePropertyException.
| |||||||||||
Create a new NotWritablePropertyException.
| |||||||||||
Create a new NotWritablePropertyException.
| |||||||||||
Create a new NotWritablePropertyException.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return suggestions for actual bean property names that closely match
the invalid property name, if any.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.beans.InvalidPropertyException
| |||||||||||
From class
org.springframework.beans.BeansException
| |||||||||||
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Create a new NotWritablePropertyException.
beanClass | the offending bean class |
---|---|
propertyName | the offending property name |
Create a new NotWritablePropertyException.
beanClass | the offending bean class |
---|---|
propertyName | the offending property name |
msg | the detail message |
Create a new NotWritablePropertyException.
beanClass | the offending bean class |
---|---|
propertyName | the offending property name |
msg | the detail message |
cause | the root cause |
Create a new NotWritablePropertyException.
beanClass | the offending bean class |
---|---|
propertyName | the offending property name |
msg | the detail message |
possibleMatches | suggestions for actual bean property names that closely match the invalid property name |
Return suggestions for actual bean property names that closely match the invalid property name, if any.