lockType

Type: Integer

The read-only lockType property of the DeadlockException class contains the type of lock that was encountered in a multiuser environment.

The lock types, provided by global constants in the Locks category, are listed in the following table.

Global Constant Integer Description
Not applicable 0 Result of a getObject operation
Share_Lock 1 Shared lock
Reserve_Lock 2 Reserve lock
Exclusive_Lock 3 Exclusive lock
Update_Lock 4 Update lock

A lock type of 4 indicates an internal resource deadlock condition, and the lock exception properties will be left as null values.