Common Weakness Enumeration

    CWE Definition / CWE-397

    CWE-397: Declaration of Throws for Generic Exception

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

    Published:19 Jul 2006
    Organization:MITRE
    Modified:28 Oct 2026

    Related Weakness

    CWE-705: Incorrect Control Flow Scoping

    CWE-221: Information Loss or Omission

    CWE-703: Improper Check or Handling of Exceptional Conditions