Closed treyshaffer closed 9 years ago
If you are treating all of the exceptions the same, then instead of having a bunch of catches, you can catch java.lang.Throwable.
e.printStackTrace() or printing e.getCause() would be a simple way to handle the exceptions in a general manner.
e.printStackTrace()
e.getCause()
If you are treating all of the exceptions the same, then instead of having a bunch of catches, you can catch java.lang.Throwable.