Difference between revisions of "Core.Validation.CoreChk018"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
{{DISPLAYTITLE:Check rule '''Core_Chk018'''}}[[Category:CheckRule]][[Category:Core]]
+
{{DISPLAYTITLE:Check rule '''Core_Chk018 - Missing catch section'''}}[[Category:CheckRule]][[Category:Core]]
 
== Classification ==
 
== Classification ==
{{ClassificationCheckRule | Core_Chk018 | [[Core]] | Warning }}
+
{{ClassificationCheckRule | Core_Chk018 | [[OtxReference|Core]] | Warning }}
  
 
== Description ==
 
== Description ==
For each within a [[Core.Actions.Handler|Try]] section expected exception should exist a [[Core.Actions.Handler|Catch]] section.
+
Every node which possibly throws a checked exception should be embedded in a Handler providing a [[Core.Actions.Handler|Catch]] applicable to that exception type. But only if the procedure does not already declare that explicit exception type in its own throws-attribute, see [[Core.Validation.CoreChk017|CoreChk017]].

Revision as of 14:11, 8 February 2019

Classification

Name Core_Chk018
Class Core
Severity Warning
SpecifiedBy ISO 13209-3

Description

Every node which possibly throws a checked exception should be embedded in a Handler providing a Catch applicable to that exception type. But only if the procedure does not already declare that explicit exception type in its own throws-attribute, see CoreChk017.