Confusion in exception handling
Hi to all!
I have got a confusion in exception handling mechanism.
The scenario is:
I am calling a method from a servlet. That method have called some methods that throws some exceptions (actually SQLException).
Then what should I do:-
1. Handle those exceptions in that method only.
2. Pass those exceptions to the servlet (using throws keyword).
Which one is a better approach.
Message was edited by: Sumit Tyagi
Sumit_Tyagi

