This content applies to version
7.5.1 or later. You
can add an exception to an operation to indicate an element that is
created when the operation encounters an error.
Before you begin
You must have a diagram open in the diagram editor, and a
classifier with at least one operation that is visible in the classifier's
operations list compartment. Ensure that you have not set preferences
to filter or hide operations.
About this task
To add an exception to an operation:
Procedure
- In the diagram editor, click the operation to select it.
- In the Properties view, click the Exceptions tab.
- On the Exceptions tab, click Add.
- In the Select Element window, select
the element that represents the exception.
- Click Add.
Results
The exception is shown in the table of exceptions for the
operation.