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

Should BeanPopulationException be a unchecked (runtime) exception? #63

Closed
PascalSchumacher opened this issue Feb 5, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@PascalSchumacher
Copy link
Collaborator

I personally like to be able to write unit tests without adding "throws Exception" to every signature.

But others may disagree.

@PascalSchumacher PascalSchumacher changed the title Should BeanPopulationException be a unchecked (RuntimeException)? Should BeanPopulationException be a unchecked (runtime) exception? Feb 5, 2016
@fmbenhassine fmbenhassine added this to the 2.0.0 milestone Feb 6, 2016
@fmbenhassine fmbenhassine self-assigned this Feb 6, 2016
@fmbenhassine
Copy link
Member

This exception has been requested in issue #39 .
I just turned it into a RuntimeException, this is better indeed.
The user can still catch it and make the test fails if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants