The three main exceptions related to locking are as follows.
JoobObjectLockedException – object lock request timed out.
JoobDeadlockException – deadlock detected.
JoobInterveningUpdateException – the object was updated before the lock upgrade completed.