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

Allow @Inject annotated constructors to send Exceptions #199

Closed
stephanenicolas opened this issue Feb 26, 2017 · 0 comments
Closed

Allow @Inject annotated constructors to send Exceptions #199

stephanenicolas opened this issue Feb 26, 2017 · 0 comments
Milestone

Comments

@stephanenicolas
Copy link
Owner

stephanenicolas commented Feb 26, 2017

The factory could send a runtime exception wrapping the exception.
The call might normally fail at runtime and provide a nice stack trace.

This woulld help MGA to decouple some code (pojos & daos as daos base classes throw an exception at construction time).

An extension is to do the same for methods injection.

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

No branches or pull requests

2 participants