...
The catch
clause is permitted by exception EXC14-EX0 of rule ERR14-J. Do not catch NullPointerException , RuntimeException, Exception, or Throwableor any of its ancestors as it serves as a general filter passing exceptions to the MyExceptionReporter
class, which is dedicated to safely reporting exceptions, as recommended by rule ERR00-J. Do not suppress or ignore checked exceptions. While this code only throws IllegalArgumentException
the catch clause is general enough to handle any exception, in case the try
block should be modified to throw other exceptions.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9379dda7e827cded-5be6a960-4f2e4b43-8fc98d14-039f899e9552ac15953e2302"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch 08]] | Item 64: Strive for failure atomicity | ]]></ac:plain-text-body></ac:structured-macro> |
...