Try OpenEdge Now
skip to main content
Error Handling
Using ABL Error Classes : Progress.Lang.SysError class
 

Progress.Lang.SysError class

When an ABL statement raises the error condition, the AVM throws an error. These errors are represented by the Progress.Lang.SysError class. Progress.Lang.SysError inherits common error handling abilities from Progress.Lang.ProError. You cannot inherit from this class, and the class constructors are reserved for system use only.
Properties and methods table describes the properties and methods inherited by this class. Objects of SysError type can be thrown from an AppServer to an ABL client.
A CATCH block that references this type handles all system errors, as shown:
DO ON ERROR UNDO, THROW:
  .
  .
  .
  CATCH anySystemErrorObject AS Progress.Lang.SysError:
    .
    .
    .
  END CATCH.
END. /* DO */