Try OpenEdge Now
skip to main content
Error Handling
Handling Errors with CATCH Blocks
 

Handling Errors with CATCH Blocks

The CATCH statement defines an error handling block of code for a particular error type within a single block. This chapter describes CATCH blocks.
* Introduction
* CATCH statement syntax
* Blocks that support CATCH blocks
* UNDO scope and relationship to a CATCH block
* Buffer scope within a CATCH block
* Flow-of-control statements in a CATCH block
* CATCH blocks within CATCH blocks
* System error message suppression with CATCH
* Handling errors from built-in ABL methods