de.grogra.util
Class Lockable.DeadLockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.grogra.util.Lockable.DeadLockException
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
Lockable

public static class Lockable.DeadLockException
extends java.lang.Exception

An instance of DeadLockException is thrown by Lockable.executeForcedly(LockProtectedRunnable, boolean) if the operation would result in a dead-lock condition. This happens if two threads which already have a read-lock try to synchronously obtain a write-lock at the same time.

See Also:
Serialized Form

Constructor Summary
Lockable.DeadLockException()
           
Lockable.DeadLockException(java.lang.String msg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lockable.DeadLockException

public Lockable.DeadLockException()

Lockable.DeadLockException

public Lockable.DeadLockException(java.lang.String msg)