# Directives

TRY .. CATCH .. FINALLY .. END_TRY | Exception/Error Trapping

## Formats

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 END_TRY directive, see TRY directive.

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