ThrowSpecificExceptions
Consider throwing more specific exceptions rather than (e.g.) RuntimeException. Throwing generic exceptions forces any users of the API that wish to handle the failure mode to catch very non-specific exceptions that convey little information.

Severity
WARNING
Has Fix?

The problem

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("ThrowSpecificExceptions") to the enclosing element.