Progress.Lang.AppError is the ultimate super class of all application errors. An
application error is simply any collection of data you need to provide meaningful information about a condition. Representing a user-defined error as an error object allows your application to throw and catch or return the error in the ABL structured error handling model.
Progress.Lang.ProError is the ultimate super class of all error objects in ABL. From
Progress.Lang.Object it inherits the basic features of an ABL class. It also implements the
Progress.Lang.Error interface which provides the basic properties and methods for handling errors.
Progress.Lang.AppError adds the properties and methods needed for populating an AppError object with your error messages.
The following constructor creates an AppError object with the
ReturnValue property set with the value of the
ErrorString parameter. This constructor is used when the AVM implicitly creates an AppError object for a RETURN ERROR
ErrorString statement. You can also invoke this constructor directly.
All AppError instances, both those created implicitly and user-defined application errors, created with the
NEW function (classes) appear on the SESSION:FIRST-OBJECT chain, just like any other user-defined object.