Software Disclaimer

Class UML 2.4.1::ExceptionHandler

Description:

An exception handler is an element that specifies a body to execute in case the specified exception occurs during the execution of the protected node.

Direct Superclasses: Element

Direct Subclasses:

Class Precedence List: ExceptionHandler, Element

Properties:

exceptionInput : ObjectNode (1 1); -- source ExceptionHandler
exceptionType : Classifier (1 *); -- source ExceptionHandler
handlerBody : ExecutableNode (1 1); -- source ExceptionHandler
protectedNode : ExecutableNode (1 1); -- source ExceptionHandler
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

Signature: result_pins() : Boolean;
Description: If the protected node is a StructuredActivityNode with output pins, then the exception handler body must also be a StructuredActivityNode with output pins that correspond in number and types to those of the protected node.
Expression: true

Signature: one_input() : Boolean;
Description: The handler body has one input, and that input is the same as the exception input.
Expression: true

Signature: exception_body() : Boolean;
Description: The exception handler and its input object node are not the source or target of any edge.
Expression: true

Signature: edge_source_target() : Boolean;
Description: An edge that has a source in an exception handler structured node must have its target in the handler also, and vice versa.
Expression: true

Operations:

No additional operations.



Send questions or comments to [email protected].