Difference between revisions of "Core.Validation.CoreChk018"

From emotive
Jump to navigation Jump to search
 
Line 4: Line 4:
  
 
== Description ==
 
== Description ==
Every activity which possibly throws a checked exception should be embedded in a [[Core.Actions.Handler|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]].
+
Every activity which possibly throws a CheckedException should be embedded in a [[Core.Actions.Handler|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]].
 +
 
 +
The only CheckedExceptions in OTX are the explicit exception [[Core.DataTypes.ComplexDataType.UserException|UserException]] and its base type [[Core.DataTypes.ComplexDataType.Exception|Exception]].

Latest revision as of 14:57, 8 February 2019

Classification

Name Core_Chk018
Class Core
Severity Warning
SpecifiedBy ISO 13209-3

Description

Every activity which possibly throws a CheckedException 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.

The only CheckedExceptions in OTX are the explicit exception UserException and its base type Exception.