Class CycleDetectingLockFactory.ExampleStackTrace

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.google.common.util.concurrent.CycleDetectingLockFactory.ExampleStackTrace
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CycleDetectingLockFactory.PotentialDeadlockException
Enclosing class:
CycleDetectingLockFactory

private static class CycleDetectingLockFactory.ExampleStackTrace extends IllegalStateException
A Throwable used to record a stack trace that illustrates an example of a specific lock acquisition ordering. The top of the stack trace is truncated such that it starts with the acquisition of the lock in question, e.g.
 com...ExampleStackTrace: LockB -> LockC
   at com...CycleDetectingReentrantLock.lock(CycleDetectingLockFactory.java:443)
   at ...
   at ...
   at com...MyClass.someMethodThatAcquiresLockB(MyClass.java:123)