Check rule Core_Chk019

From emotive
Jump to: navigation, search


Name Core_Chk019
Class Core
Severity Critical
SpecifiedBy ISO 13209-3


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


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