Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If a finally clause is specified, irrespective of whether the try or catch block executes to completion or not, the finally block is executed. Consequently statements that abruptly exit from the finally block may cause related catch blocks to not get executed. Thusthrown exceptions to be masked. Therefore, keywords like return, break, continue and throw should never be used within a finally block.

...