6061626364656667686970
} public void run() { result[0] = true; } }); manager.addAll(taskList); Thread.sleep(10 * 1000); if (!result[0]) { throw new TestException("A task that throws a runtime exception" + " prevents other tasks from running"); }