Altova UModel 2024 Basic Edition

Adding Raised Exceptions to Methods of a Class

Home Prev Top Next

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.


© 2018-2024 Altova GmbH