Progress.Lang.LockConflict class
- Last Updated: January 18, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
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.
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
| Device property | TableName property | User property |
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.LockConflictobjects, specify the Catch STOP (-catchStop) startup parameter with the value0(-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
STOPcondition and throws aProgress.Lang.LockConflictobject. In any other AVM context, pressing this key throws aProgress.Lang.UserInterruptobject instead of aLockConflictobject. For more information, see the Progress.Lang.UserInterrupt class description. - Like other class-based objects that are no longer referenced, the AVM
automatically deletes
LockConflictobjects using garbage collection.