org.jboss.cache.lock
Class DeadlockException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jboss.util.NestedException (src) 
              extended byorg.jboss.cache.CacheException (src) 
                  extended byorg.jboss.cache.lock.LockingException (src) 
                      extended byorg.jboss.cache.lock.DeadlockException
All Implemented Interfaces:
NestedThrowable (src) , java.io.Serializable

public class DeadlockException
extends LockingException (src)

Used when a lock acquisition would cause a deadlock. This will only be used once deadlock detection is in place.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.util.NestedThrowable (src)
NestedThrowable.Util (src)
 
Field Summary
 
Fields inherited from class org.jboss.util.NestedException (src)
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable (src)
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
Constructor Summary
DeadlockException(java.lang.String msg)
          Constructor for DeadlockException.
DeadlockException(java.lang.String msg, java.lang.Throwable cause)
           
 
Methods inherited from class org.jboss.cache.lock.LockingException (src)
toString
 
Methods inherited from class org.jboss.util.NestedException (src)
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeadlockException

public DeadlockException(java.lang.String msg)
Constructor for DeadlockException.

Parameters:
msg -

DeadlockException

public DeadlockException(java.lang.String msg,
                         java.lang.Throwable cause)