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

Add check to make sure there is a default constructor #24

Closed
timmolter opened this issue Mar 9, 2015 · 1 comment
Closed

Add check to make sure there is a default constructor #24

timmolter opened this issue Mar 9, 2015 · 1 comment

Comments

@timmolter
Copy link
Member

otherwise an Instantiaion Exception occurs, without a decent message, and people don't know what the problem is.

@timmolter
Copy link
Member Author

Deep inside DBUtils, an InstantiationException will be thrown when newInstance is called on a Bean without a default constructor and re-thrown as a SQLException. Yank now looks for this in the exception message and adds a warning to the message to make sure there is a default constructor in the bean.

timmolter added a commit that referenced this issue Mar 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant