Difference between revisions of "Core.Validation.CoreChk019"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Check rule '''Core_Chk019'''}}Category:CheckRuleCategory:Core == Classification == {{ClassificationCheckRule | Core_Chk019 | Core | Critical }} ==...")
 
Line 5: Line 5:
 
== Description ==
 
== Description ==
 
The type of [[Exceptions|Handle]] variable must match the type of exception to catch out in the [[Handler|Catch]] block or be derived.
 
The type of [[Exceptions|Handle]] variable must match the type of exception to catch out in the [[Handler|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.

Revision as of 11:46, 11 August 2014

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.