org.jboss.cache.lock
Class UpgradeException

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 (src) 
                      extended byorg.jboss.cache.lock.UpgradeException
All Implemented Interfaces:
NestedThrowable (src) , java.io.Serializable

public class UpgradeException
extends LockingException (src)

Used when a read-lock cannot be upgraded to a write-lock

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
UpgradeException(java.lang.String msg)
          Constructor for UpgradeException.
UpgradeException(java.lang.String msg, java.lang.Throwable cause)
           
 
Methods inherited from class org.jboss.cache.lock.LockingException (src)
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

UpgradeException

public UpgradeException(java.lang.String msg)
Constructor for UpgradeException.

Parameters:
msg -

UpgradeException

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