Is checking for exceptions in code or using try-catch a better practice in Java?
- by badpanda
I had someone mention to me that catching all exceptions is not necessarily good practice (for example, NullPointerException). I am looking for an explanation of when this is a good thing, when it is not, and why it is as such :D
Thanks!!
badPanda