Progress.Lang.Error interface
The Progress.Lang.Error interface describes a common set of properties and methods that built-in ABL error classes implement to interact with the ABL structured error handling model. This interface cannot be implemented by a user-defined class. Instead, to create your own ABL error class, subclass the Progress.Lang.AppError class.
This interface is also implemented by an OpenEdge-enhanced version of the .NET System.Exception class (OpenEdge-enhanced). Because of this architecture, ABL recognizes .NET exceptions as error objects and ABL error handling features can recognize, handle, and re-throw .NET exceptions. The interface requires a class to implement the following properties:
Public
Properties
The interface requires a class to implement the following methods:
Public
Methods
NotesThe Progress.Lang.Error interface provides an abstract mechanism for integrating ABL and third-party error objects into the ABL structured error handling model. As such, it is the error type that represents all possible errors in ABL. Specifying this interface in a CATCH statement, creates an error handler that catches any error. For example:
See alsoCATCH statement, Progress.Lang.AppError class, Progress.Lang.ProError class, Progress.Lang.SysError class
OpenEdge Release 10.2B
|