...
Allowing checked exceptions to escape a finally
block also violates rule ERR04-J. Do not exit complete abruptly from a finally block.
Noncompliant Code Example
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="320d3c85a21afdf4-5ee52c17-41354c62-91b58795-bde4d7470436f98cd5b5b455"><ac:plain-text-body><![CDATA[ | [[Bloch 2005 | AA. References#Bloch 05]] | Puzzle 41. Field and Stream | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2adbddfcc471086b-e7b74748-42c040f8-a3dcbea4-f5e345b84608a7208521287e"><ac:plain-text-body><![CDATA[ | [[Chess 2007 | AA. References#Chess 07]] | 8.3, Preventing Resource Leaks (Java) | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="89a06d07312b50b7-f666f717-4b5d4496-984cbea0-3a440e14691b8a9759dfa573"><ac:plain-text-body><![CDATA[ | [[Harold 1999 | AA. References#Harold 99]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4fb5bb57e896eee2-7b55833c-42b445a9-b929bbe1-9f9c49f27a3379c4b1cc4002"><ac:plain-text-body><![CDATA[ | [[J2SE 2011 | AA. References#J2SE 11]] | The try-with-resources Statement | ]]></ac:plain-text-body></ac:structured-macro> |
...
ERR04-J. Do not exit abruptly from a finally block 06. Exceptional Behavior (ERR)