private void waitForTestUnlessExceptions(TestThread testThread) {

		while (!testThread.finished) {
			synchronized (ConcurrentTestExceptionHandler.class) {

				checkForTestTimeout(testThread);

				if (ConcurrentTestExceptionHandler.hasException()) {
					interruptTestThread(testThread);
					break;
				}

				try {
					ConcurrentTestExceptionHandler.class.wait(100);
				}
				catch (InterruptedException e) {
					// try again
				}
			}
		}
	}
Prints all exceptions found that did not occur on the test thread.  This is useful 
for debugging.
Ghidra/Framework/Generic/src/main/java/generic/test/ConcurrentTestExceptionStatement.java