Query module ExceptionCatch

name
Overly-general catch clause
description
Catching ‘Throwable’ or ‘Exception’ is dangerous because these can include ‘Error’ or ‘RuntimeException’.
kind
problem
problem.severity
warning
precision
low
id
java/overly-general-catch
tags
reliability external/cwe/cwe-396

Imports

java

Provides all default Java QL imports.