Skip to main content

FINALLY: Exception/Error Trapping

Format

TRY
... logic to run ...

CATCH
... logic to execute should an error occur

FINALLY
... optional logic to execute after the TRY or CATCH logic completes

END_TRY

Description

For a description of the FINALLY directive, see TRY directive.

(The TRY .. CATCH ..FINALLY .. END_TRY directives were added in PxPlus v10.10.)