spring-framework / org.springframework.beans / NotWritablePropertyException / <init>

<init>

NotWritablePropertyException(beanClass: Class<*>, propertyName: String)

Create a new NotWritablePropertyException.

Parameters

beanClass - the offending bean class

propertyName - the offending property name

NotWritablePropertyException(beanClass: Class<*>, propertyName: String, msg: String)

Create a new NotWritablePropertyException.

Parameters

beanClass - the offending bean class

propertyName - the offending property name

msg - the detail message

NotWritablePropertyException(beanClass: Class<*>, propertyName: String, msg: String, cause: Throwable)

Create a new NotWritablePropertyException.

Parameters

beanClass - the offending bean class

propertyName - the offending property name

msg - the detail message

cause - the root cause

NotWritablePropertyException(beanClass: Class<*>, propertyName: String, msg: String, possibleMatches: Array<String>)

Create a new NotWritablePropertyException.

Parameters

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