Versions Compared

Key

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

...

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

Risk Assessment

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

...