Is it possible to detect if an exception occurred before I entered a finally block?

Your idea about setting a variable outside the scope of the try/catch/finally is correct.

There cannot be more than one exception propagating at once.

Leave a Comment