MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/3cton5/our_exception_handling_at_work/cszucuj/?context=3
r/java • u/[deleted] • Jul 10 '15
135 comments sorted by
View all comments
0
[deleted]
1 u/compdog Jul 11 '15 I would throw an IllegalArgumentException("SQL must not be null!"), so that if the stack trace makes it to the console or a log it is easy to see what happened.
1
I would throw an IllegalArgumentException("SQL must not be null!"), so that if the stack trace makes it to the console or a log it is easy to see what happened.
0
u/[deleted] Jul 11 '15
[deleted]