Support for structured error handling
- Last Updated: February 19, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Many Progress Developer Studio for OpenEdge file-creation and code-generation tools
provide options to include ABL code for structured error-handling features. These
options, available in the appropriate wizards and menus, are:
- Include the routine-level error-handling statement
ROUTINE-LEVEL ON ERROR UNDO,THROWwhen creating new classes and procedures. This option is selectable in the file-creation wizard. - Include a
CATCHblock and/or aFINALLYblock when adding a new function, internal procedure, or method. These options are selectable in the code-generation wizard. - Add a
CATCHblock and/or aFINALLYblock surrounding selected code in an existing ABL source file. These commands are available on the. The blocks are also included in code-assistance completion proposals where applicable.