This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
1) First, your throw exception in the catch throws it up to the JVM and not to the try catch, so the catch of Exception will not be run. 2) Finally is always run. So after the catch of the InterruptedException, then it runs the finally code.
Since its a exception of type InteruptedException it will be caught at line 1.Had the exception be of Exception other than InterruptedException then it will be caught in Exception clause.
"There are no mistakes, only lessons"
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.