this does not answer the question.
The code in the finally block is executed regardless a exception is raised or not, so it is still not konw if an exception is raised or not when code in finally block is executed.
better stay with the flag approach.