Adding exceptions to operations

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.


  1. In the diagram editor, click the operation to select it.
  2. In the Properties view, click the Exceptions tab.
  3. On the Exceptions tab, click Add.
  4. In the Select Element window, select the element that represents the exception.
  5. Click Add.


The exception is shown in the table of exceptions for the operation.