Try OpenEdge Now
skip to main content
Error Handling
Using FINALLY End Blocks : Behavior : STOP or QUIT conditions with FINALLY blocks
 

STOP or QUIT conditions with FINALLY blocks

If the AVM detects a STOP or QUIT condition in the associated block, the FINALLY block will not run and the AVM processes the condition. If the associated block has an ON STOP or ON QUIT phrase, then the STOP or QUIT condition is handled and released by the time the AVM is ready to execute the FINALLY block, and the FINALLY block is executed. See the ON STOP and ON QUIT reference entries in OpenEdge Development: ABL Reference for a description of the STOP and the QUIT condition behavior and handling.