org.jboss.cache.lock
Class LockingException

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
All Implemented Interfaces:
NestedThrowable (src) , java.io.Serializable
Direct Known Subclasses:
DeadlockException (src) , UpgradeException (src)

public class LockingException
extends CacheException (src)

Used for all locking-related exceptions, e.g. when a lock could not be acquired within the timeout, or when a deadlock was detected.

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
LockingException()
           
LockingException(java.util.Map failed_lockers)
           
LockingException(java.lang.String msg)
           
LockingException(java.lang.String msg, java.util.Map failed_lockers)
           
LockingException(java.lang.String msg, java.lang.Throwable cause)
           
LockingException(java.lang.String msg, java.lang.Throwable cause, java.util.Map failed_lockers)
           
 
Method Summary
 java.lang.String 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

LockingException

public LockingException()

LockingException

public LockingException(java.util.Map failed_lockers)

LockingException

public LockingException(java.lang.String msg)

LockingException

public LockingException(java.lang.String msg,
                        java.util.Map failed_lockers)

LockingException

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

LockingException

public LockingException(java.lang.String msg,
                        java.lang.Throwable cause,
                        java.util.Map failed_lockers)
Method Detail

toString

public java.lang.String toString()