Software Disclaimer

Class UML 2.5::ExceptionHandler

Description:

An ExceptionHandler is an Element that specifies a handlerBody ExecutableNode to execute in case the specified exception occurs during the execution of the protected ExecutableNode.

Direct Superclasses: Element

Direct Subclasses:

Class Precedence List: ExceptionHandler, Element

Properties:

exceptionInput : ObjectNode (1 1); -- source ExceptionHandler

An ObjectNode within the handlerBody. When the ExceptionHandler catches an exception, the exception token is placed on this ObjectNode, causing the handlerBody to execute.

exceptionType : Classifier (1 *); -- source ExceptionHandler
handlerBody : ExecutableNode (1 1); -- source ExceptionHandler
protectedNode : ExecutableNode (1 1); -- source ExceptionHandler

The ExecutableNode protected by the ExceptionHandler. If an exception propagates out of the protectedNode and has a type matching one of the exceptionTypes, then it is caught by this ExceptionHandler.
Subsets: Element.owner
Opposite: ExecutableNode.handler

ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element

The Elements owned by this Element.
{composite, readonly}
Derived union with sources: (ownedComment)
Opposite: Element.owner

owner : Element (0 1); -- source Element

Constraints:

No additional constraints.

Operations:

No additional operations.



Send questions or comments to [email protected].