Skip to content

NotReadablePropertyException should take causing exception as constructor argument [SPR-12467] #17073

Closed
@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-12467 and commented

NotWritablePropertyException takes a causing exception as constructor argument whereas NotReadablePropertyException does not. In case you extend BeanWrapper and want to customize setPropertyValue(…)/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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions