Class DeadlockException

All Implemented Interfaces:
Serializable

public class DeadlockException extends LockAcquisitionFailedException
Exception indicating that a deadlock has been detected while a thread was attempting to acquire a lock. This typically happens when a Thread attempts to acquire a lock that is owned by a Thread that is in turn waiting for a lock held by the current thread.

It is typically safe to retry the operation when this exception occurs.

Since:
2.0
Author:
Allard Buijze
See Also:
  • Constructor Details

    • DeadlockException

      public DeadlockException(String message)
      Initializes the exception with given message.
      Parameters:
      message - The message describing the exception