| Reference > Rule Languages > ILOG Rule Language > IRL Keywords > finally |
finally |
PREVIOUS NEXT |
The keyword within a try statement that specifies a control block to be executed after all processing of a try block, including the processing for any exceptions. This keyword is used in rule actions or functions.
try {statements}
catch (exceptionType1 identifier) {statements}
[catch (exceptionType2 identifier) {statements}
...]
finally {statements}
The try-catch-finally statements establish a block of code for exception handling. The blocks all begin and end with curly braces.
The finally statement is guaranteed to be executed if any portion of the try statement is executed, regardless of how the code in the try and catch statements completes.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |