org.jboss.cache.lock
Class LockingException

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
All Implemented Interfaces:
java.io.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.

Version:
$Revision: 1.1.1.1 $

Revisions:

Dec 27 2002 Bela Ban: first implementation

Author:
Bela Ban.
See Also:
Serialized Form

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 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(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()
Overrides:
toString in class java.lang.Throwable


Copyright 1998-2005 JBoss Inc . All Rights Reserved.