Module utilities

Class Lockable.DeadLockException

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

public static class Lockable.DeadLockException extends 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:
  • Constructor Details

    • DeadLockException

      public DeadLockException()
    • DeadLockException

      public DeadLockException(String msg)