org.jboss.cache.lock
Class DeadlockException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.jboss.util.NestedException
                    |
                    +--org.jboss.cache.CacheException
                          |
                          +--org.jboss.cache.lock.LockingException
                                |
                                +--org.jboss.cache.lock.DeadlockException
All Implemented Interfaces:
org.jboss.util.NestedThrowable, 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

Field Summary
 
Fields inherited from class org.jboss.util.NestedException
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable
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
toString
 
Methods inherited from class org.jboss.util.NestedException
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)


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