Hi Guys!
Having read the K&B notes on Exception Handling, I have stumbled upon something fishy.
At one point the authors mention,
It is (the finally block) guaranteed to be called except in the special cases where the try or the catch code raises an uncaught exception or issues a System.exit()
At another point, they say,
...it(finally block) will always be invoked, regardless of whether an exception in the corresponding try is thrown or not, and regardless of whether a thrown exception is caught or not.
I find it quite hard to digest the two sentences which I think are contradictory. Anyways, I'd like to hear from you on this! Am I correct, or should I actually be "reading between the lines" ???
Thanks