org.jboss.cache.lock
Class DeadlockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.cache.CacheException
              extended by org.jboss.cache.lock.LockingException
                  extended by org.jboss.cache.lock.DeadlockException
All Implemented Interfaces:
java.io.Serializable

public class DeadlockException
extends LockingException

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

Version:
$Revision: 1.1.1.1 $
Author:
Bela Ban
See Also:
Serialized Form

Constructor Summary
DeadlockException(java.lang.String msg)
          Constructor for DeadlockException.
DeadlockException(java.lang.String msg, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.jboss.cache.lock.LockingException
toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, 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)


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.