Progress.Lang.StopError class
- Last Updated: April 19, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
When the AVM encounters certain unexpected error conditions, it throws an instance of the
Progress.Lang.StopError
class containing messages associated with the originating error, and raises the
STOP
condition.
Progress.Lang.StopError
inherits common error handling abilities from
Progress.Lang.ProError
, which implements the
Progress.Lang.Error
interface. You can therefore catch this object in a
CATCH
block to trap error messages associated with the
STOP
condition.
You cannot inherit from this class.
Serializable:
Yes
Constructors
The class constructors are reserved for system use only.
Super Class
Interfaces
This class does not implement interfaces (beyond those it inherits from its base class).
Public Properties
This class does not contain properties (beyond those it inherits from its base class).
Public Methods
This class does not contain methods (beyond those it inherits from its base class).
Public Events
This class does not contain events.
Notes
- To enable older behavior and prevent the AVM from throwing
Progress.Lang.StopErrorobjects, specify the Catch STOP (-catchStop) startup parameter with the value0(-catchStop 0). -
StopErrorobjects are put on theSESSION:FIRST-OBJECTchain when they are caught by aCATCHblock. - Uncaught
StopErrorobjects are automatically deleted by the AVM and removed from theSESSION:FIRST-OBJECTchain.
See also
CATCH statement, ON STOP phrase, Progress.Lang.Error interface, Progress.Lang.ProError class , Progress.Lang.Stop class