Doing both doesn't make any sense.You should either catch it or throw it.
Joined: May 12, 2004
In this code, the exceptions are thrown upward. The caller of "anotherMethod()" still has to catch the SQLException, or throw it further. If you don't declare the throws SQLException in "anotherMethod()", you have to catch the exception from "someMethod()"