NotReadablePropertyException should take causing exception as constructor argument [SPR-12467] #17073
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Oliver Drotbohm opened SPR-12467 and commented
NotWritablePropertyException
takes a causing exception as constructor argument whereasNotReadablePropertyException
does not. In case you extendBeanWrapper
and want to customizesetPropertyValue(…)
/getPropertyValue(…)
you can propagate potentially thrown exceptions in the setting case but not in the reading one.Affects: 4.0.8, 4.1.2
Referenced from: commits 58bea23, feb91e8
Backported to: 4.0.9
The text was updated successfully, but these errors were encountered: