Check rule Core_Chk019

From emotive
Jump to: navigation, search

Classification

Name Core_Chk019
Class Core
Severity Critical
SpecifiedBy ISO 13209-3

Description

The type of Handle variable must match the type of exception to catch out in the Catch block or be derived.

Comments

This ensures that the correct type is assigned a caught exception. The variable is defined in the declaration block.