666768697071727374
throw new LockException("Interrupted while waiting for read lock"); } } if (deadlocked) { LOG.warn("Deadlock detected: cancelling wait..."); throw new DeadlockException(); } } while (suspended); }
229230231232233234235236237
{throw exceptionCaught;} if (deadlockedThreads != null) { for (final WaitingThread wt : deadlockedThreads) { wt.signalDeadlock(); } throw new DeadlockException(); } return true; }