Package tenapull.sync

Class ReadWriteLock.ThreadDisruption

java.lang.Object
java.lang.Throwable
java.lang.Error
tenapull.sync.ReadWriteLock.ThreadDisruption
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ReadWriteLock<O,​R>

public static class ReadWriteLock.ThreadDisruption
extends java.lang.Error
Error (NOT Exception) thrown when a disruptable thread would create a deadlock if allowed the request read/write access. Because this is NOT an exception, it should pass through almost all try ... catch statements and unwind the thread back to its origin. Similar to ThreadDeath, except that the thread may catch this and continue on to its next operation without dying
See Also:
Serialized Form
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait