org.jboss.cache.lock
Class LockingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.cache.CacheException
                  extended by org.jboss.cache.lock.LockingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DeadlockException, UpgradeException

public class LockingException
extends CacheException

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

Author:
Bela Ban.
See Also:
Serialized Form

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

LockingException

public LockingException()

LockingException

public LockingException(Map failed_lockers)

LockingException

public LockingException(String msg)

LockingException

public LockingException(String msg,
                        Map failed_lockers)

LockingException

public LockingException(String msg,
                        Throwable cause)

LockingException

public LockingException(String msg,
                        Throwable cause,
                        Map failed_lockers)
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.