The AVM throws an instance of the Progress.Lang.LockConflict class and raises the STOP condition
when a time-out occurs while waiting for a record lock or when the user indicates they want
to stop waiting.
You can therefore catch instances of Progress.Lang.LockConflict in a CATCH block to trap each
STOP condition raised by a time-out while waiting for a record lock. Its
public properties provide information on the context in which the record lock is held.
You cannot inherit from this class.
Constructors
The class constructors are reserved for system use only.
Interfaces
This class does not implement interfaces (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.LockConflict objects, specify the Catch STOP
(-catchStop) startup parameter with the value 0 (-catchStop 0).
- You can specify the time-out period that an ABL application waits for the release of a
record lock using the Lock Timeout (-lkwtmo) startup parameter.
- In character mode only (running Linux, Unix, or character mode in
Windows), the user can also press CTRL+C to cancel a wait on a record lock. Note
that unlike any other AVM context, pressing this key in the context of waiting for a
record lock in character mode both raises the STOP condition and throws a
Progress.Lang.LockConflict object. In any other AVM
context, pressing this key throws a Progress.Lang.UserInterrupt object instead of a LockConflict object. For more information, see the Progress.Lang.UserInterrupt class description.
- Like other class-based objects that are no longer referenced, the AVM
automatically deletes LockConflict objects using garbage
collection.