}
Grinder.grinder.getLogger().error(failure.getMessage(),
exceptionProcessor.filterException(rootCause));
// In case of exception, set test failed.
try {
StatisticsForTest forLastTest = Grinder.grinder.getStatistics().getForLastTest();
if (forLastTest != null) {
forLastTest.setSuccess(false);
}
} catch (Throwable t) {
noOp();
}
}