When enabled, the AVM throws an instance of this Progress.Lang.StopAfter class and raises the STOP condition when a time-out occurs in response to the STOP-AFTER setting on a DO, FOR, or REPEAT block.

You can therefore catch instances of Progress.Lang.StopAfter in a CATCH block to trap each STOP condition raised by a time-out for a block that exceeds its STOP-AFTER setting, if any.

You cannot inherit from this class.

Serializable:

Yes

Constructors

The class constructors are reserved for system use only.

Super Class

Progress.Lang.Stop 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.StopAfter objects, specify the Catch STOP (-catchStop) startup parameter with the value 0 (-catchStop 0).
  • Like any other class-based object that is no longer referenced, the AVM automatically deletes StopAfter objects using garbage collection.

See also

CATCH statement, ON STOP phrase, DO statement, FOR statement, Progress.Lang.Stop class, REPEAT statement