-
Notifications
You must be signed in to change notification settings - Fork 3
Exceptions
The following CDP4-COMET-SDK exceptions are part of the CDP4Common library:
- Cdp4ModelValidationException
- ContainmentException
- IncompleteModelException
- NestedElementTreeException
CDP4-COMET-SDK exceptions must derive from
System.Exception
The Cdp4ModelValidationException is thrown when a COMET Data Model validation rule is vialoted. These validation rules are derived from the meta-model and are implemented in the MetaInfo classes.
The ContainmentException is thrown when their is a fault in the Containment hierarchy of a POCO.
The IncompleteModelException is thrown when a POCO is incomplete, e.g. An EngineeringModel shall contain at least one Iteration, when the Iteration object is missing while executing business logic an IncompleteModelException may be thrown.
The NestedElementTreeException is thrown by the NestedElementTreeGenerator when there is a problem with the conditions to generate the Nested Element Tree are not met or when there is a problem with the POCO objects from which the tree is derived.
« COMETCommon-CE Classless DTO — Documentation overview — CDP4Common-CE NestedElementTreeGenerator »
copyright @ Starion Group S.A.