Sonali Sehgal wrote:Hi Sagar,
I read your program and Kathy S book....The book says that in the program code of yours if it throws a checked exception but you are not declaring it...
It goes followed by the following example:-
Re read my first post, particularly this line:
...then just pass it on to the calling function, and let him handle this exception
That's mean, calling function (doStuff()) must handle the exception which are declared in called functions (doMore()) 'throws' clause.
HTH