// Handler for TestListener.addFailure(Test, Throwable)
private void handleAddError( Object[] args )
throws IllegalAccessException, InvocationTargetException
{
ReportEntry report = SimpleReportEntry.withException( args[0].getClass().getName(), args[0].toString(),
getStackTraceWriter( args ) );
reporter.testError( report );
failedTestsSet.add( new FailedTest( args[0], Thread.currentThread() ) );