Try OpenEdge Now
skip to main content
Error Handling
Using FINALLY End Blocks : Behavior : Execution of a FINALLY block
 

Execution of a FINALLY block

The FINALLY block executes as an end block of the associated block. The FINALLY block executes once for each iteration of its associated block. This means you can only execute the FINALLY block during the execution of the associated block. The FINALLY block executes whether the associated block executes successfully or raises ERROR.