@Beta public static final class CycleDetectingLockFactory.PotentialDeadlockException extends IllegalStateException
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
.
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.CycleDetectingLockFactory.ExampleStackTrace |
getConflictingStackTrace() |
String |
getMessage()
Appends the chain of messages from the
conflictingStackTrace to
the original message . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public com.google.common.util.concurrent.CycleDetectingLockFactory.ExampleStackTrace getConflictingStackTrace()
public String getMessage()
conflictingStackTrace
to
the original message
.getMessage
in class Throwable
Throwable
instance
(which may be null
).Copyright © 2010-2014. All Rights Reserved.