The subtoken [catch]
designates exceptions that are caught, if thrown within a try block. When you expand the [catch]
subtoken, the following code is displayed:
catch <ExceptionClass variable>
[catch]
The subtoken [catch]
is composed of the subtokens given in Table 24.18:
Table 24.18 Subtokens for [catch]
|
|
---|
<ExceptionClass variable>
| Enter the class of the exception followed by a variable name.
|
| Add a nested action. You can select any action except the timeout action.
|
[catch]
| Insert a new (optional) catch clause.
|
|