Rule Builder > Technical Rule Language Reference > Subtokens for Action Tokens > [catch]

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]
Subtoken 
Function 
<ExceptionClass variable>  Enter the class of the exception followed by a variable name. 

images/blueArrow_icon.gif

Add a nested action. You can select any action except the timeout action. 
[catch]  Insert a new (optional) catch clause. 


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT