CWE Database
/

CWE-1069

Back to CWE list

CWE-1069

Empty Exception Block

Variant
Incomplete

Description

An invokable code block contains an exception handling block that does not contain any code, i.e. is empty.

Parent Weaknesses (ChildOf)

Common Consequences

Scope

Other

Impact

Reduce Reliability

Potential Mitigations

Implementation

For every exception block add code that handles the specific exception in the way intended by the application.

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now