Versions Compared

Key

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

...

Exception wrapping is a common technique to safely handle unknown exceptions. For another example, see rule ERR10-J. Do not let code throw undeclared checked exceptions.

Wiki Markup
*EXC08-EX1*: Task processing threads such as worker threads in a thread pool or the Swing event dispatch thread are permitted to catch {{RuntimeException}} when they call untrusted code through an abstraction such as {{Runnable}} \[[Goetz 2006|AA. Bibliography#Goetz 06], pg. 161\].

...