Class UML 2.3::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: ElementDirect Subclasses: Class Precedence List: ExceptionHandler,
ElementProperties:
exceptionInput :
ObjectNode (1 1); -- source
ExceptionHandler exceptionType :
Classifier (1 *); -- source
ExceptionHandler The kind of instances that the handler catches. If an exception occurs
whose type is any of the classifiers in the set, the handler catches the
exception and executes its body.
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
ElementConstraints:
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].