/** * Run the test in an environment where * we can handle the exceptions generated by the test method.*/ public void run() { try { runTestCase(); } catch(Throwable t) /* Any other exception we handle and then we interrupt the other threads.*/ { handleException(t); interruptThreads(); } } }
/** * Run the test in an environment where * we can handle the exceptions generated by the test method.*/ public void run() { try { runTestCase(); } catch(Throwable t) /* Any other exception we handle and then we interrupt the other threads.*/ { handleException(t); interruptThreads(); } } }