---
title: Avoid Empty Catch Block
description: "Impact Area Manageability Severity Medium Affected Element Apex  Class ## Rule ID **SF-0039** ## Impact Empty catch blocks will cause exceptions to be caught silently. ## Remediation Explicitly handle any exceptions caught. ### Time to fix 30 min"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/avoid-empty-catch-block/"
updated: "2025-03-21"
category: PMD Rules
---

# Avoid Empty Catch Block

Impact Area

Manageability

           Severity

Medium

           Affected Element

Apex  Class

## Rule ID

**SF-0039**

## Impact

Empty catch blocks will cause exceptions to be caught silently.

## Remediation

Explicitly handle any exceptions caught.

### Time to fix

30 min
