posted 15 years ago
If you have
If it is caught in the inner try block then will the outer finally block be called?
And if you throw an exception from the first catch block where does it go. Is it like an exception occuring in the outer most try block so it goes to the outer most try block or is it go to the next catch block in the inner try that is of that type assuming you have one?
Some questions
If you have nest finally blocks then if the inner most finally is called does the outer ones get called as well or do you have to rethrow it?
If the outer most try block gets called then then does the inner finally blocks get called?
If you catch an exception in the inner try block and throw an exception does the new exception get caught in one of the parent try blocks?
What happens if you throw a new exception that is a superclass of any exceptions that the parent catch blocks can catch?
[HENRY: Add Code Tags, And formatted code]