Versions Compared

Key

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

Wiki Markup
According to the Java Language Specification \[[JLS 2005|AA. Bibliography#JLS 05]\] section 11.2 "Compile-Time Checking of Exceptions":

The unchecked exceptions classes are the class RuntimeException and its subclasses, and the class Error and its subclasses. All other exception classes are checked exception classes.

...

Note that this solution catches Throwable in an attempt to handle the error and is an exception to guideline EXC14-J. Catch specific exceptions as opposed to the more general RuntimeException or Exception.

...

Allowing a system error to propagate out of a Java program may result in a denial-of-service attack.

Rule Guideline

Severity

Likelihood

Remediation Cost

Priority

Level

EXC08-J

low

unlikely

medium

P2

L3

...