Class CycleDetectingLockFactory.PotentialDeadlockException

All Implemented Interfaces:
Serializable
Enclosing class:
CycleDetectingLockFactory

public static final class CycleDetectingLockFactory.PotentialDeadlockException extends CycleDetectingLockFactory.ExampleStackTrace
Represents a detected cycle in lock acquisition ordering. The exception includes a causal chain of ExampleStackTrace instances to illustrate the cycle, e.g.
 com....PotentialDeadlockException: Potential Deadlock from LockC -> ReadWriteA
   at ...
   at ...
 Caused by: com...ExampleStackTrace: LockB -> LockC
   at ...
   at ...
 Caused by: com...ExampleStackTrace: ReadWriteA -> LockB
   at ...
   at ...
 

Instances are logged for the Policies.WARN, and thrown for Policies.THROW.

Since:
13.0
See Also: