Please enable JavaScript to view this site.

Altova UModel 2022 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.


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


© 2016-2022 Altova GmbH