LockException Class

The LockException class is the transient class that defines the behavior of exceptions raised as a result of locking conflicts. This class enables you to write a generic lock exception handler that can retry a lock operation.

Global lock exceptions can be handled in your logic in the following way.

on LockException do global.lockException(exception) global;

Each process can have up to 128 global exception handlers armed at any one time.

Lock exceptions are continuable; that is, the continuable property is set to true. A lock exception handler could therefore attempt to acquire the lock using the tryLock method and if successful, return Ex_Continue.

For details about the properties and methods defined in the LockException class, see "LockException Properties" and "LockException Methods", in the following subsections.

SystemException

(None)