Please enable JavaScript to view this site.

Altova UModel 2020 Professional Edition

UML Diagrams > Structural Diagrams > Class Diagram

Adding Raised Exceptions to Methods of a Class

Scroll Home Prev Top Next More

To add raised Exceptions to methods of a class:

1.Click the method of the class you want to add the raised exception to in the Model Tree window, e.g. getBalance of the Account class.

2.Right-click the Properties window and select Add Raised Exception from the pop-up menu. This adds the raised exceptions field to the Properties window, and automatically selects the first entry in the list.

raised-exc-add

3.Select an entry from the list, or enter your own into the field.

raised-exc-add2

© 2019 Altova GmbH