Difference between revisions of "Core.Validation.CoreChk019"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
== Description == | == Description == | ||
− | The type of [[ | + | The type of [[Core.Actions.Throw.Exception|Handle]] variable must match the type of exception to catch out in the [[Core.Actions.Handler|Catch]] block or be derived. |
== Comments == | == Comments == | ||
This ensures that the correct type is assigned a caught exception. The variable is defined in the declaration block. | This ensures that the correct type is assigned a caught exception. The variable is defined in the declaration block. |
Latest revision as of 06:50, 17 February 2016
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.