Skip to content
OpenAdvisories

Weakness (CWE)

CWE-431: Missing Handler

Base Draft

A handler is not available or implemented.

More detail

When an exception is thrown and not caught, the process has given up an opportunity to decide if a given failure or event is worth a change in execution.

How to prevent it (2 mitigations)
  1. Implementation

    Handle all possible situations (e.g. error condition).

  2. Implementation

    If an operation can throw an Exception, implement a handler for that specific exception.

Source: MITRE CWE-431

0 results · Clear filters · Feed

Nothing found.