Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spring-projects-issues opened this issue Nov 25, 2014 · 0 comments
Assignees
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

Comments

@spring-projects-issues
Copy link
Collaborator

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

@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.1.3 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants