ThrowIfUncheckedKnownChecked
throwIfUnchecked(knownCheckedException) is a no-op.

Category
GUAVA
Severity
ERROR
Maturity

The problem

throwIfUnchecked(knownCheckedException) is a no-op (aside from performing a null check). propagateIfPossible(knownCheckedException) is a complete no-op.

Suppression

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