Check rule Core_Chk057

From emotive
Jump to: navigation, search

Classification

Name Core_Chk057
Class Core
Severity Warning
SpecifiedBy ISO 13209-3

Description

The element <type> in CatchRealisation may, according to the OTX schema, have an <init> sub element (if the to-be-caught exception type is set to UserException). Since the <type> element's use in a catch block is solely for defining the to-be-caught exception type, the <init> element should not occur.