Difference between revisions of "Core.Validation.CoreChk018"
Jump to navigation
Jump to search
m (Hb moved page Core.OtxValidation.CoreChk018 to Core.Validation.CoreChk018: #3153) |
|||
(3 intermediate revisions by 2 users not shown) | |||
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 == | ||
− | + | 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 12: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.