Common Weakness Enumeration

    CWE Definition / CWE-397

    CWE-397: Declaration of Throws for Generic Exception

    The product throws or raises an overly broad exceptions that can hide important details and produce inappropriate responses to certain conditions.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-705: Incorrect Control Flow Scoping

    CWE-221: Information Loss or Omission

    CWE-703: Improper Check or Handling of Exceptional Conditions

    CWE-397: Declaration of Throws for Generic Exception | CVE-DB