public void doExecuteTests() { if (WikiImportProperty.isImported(data)) { importWikiPages(); } try { performExecution(); } catch (Exception e) { // Is this necessary? Or is the exception already handled by stopTestSystem? mainFormatter.errorOccurred(e); LOG.log(Level.WARNING, "error registered in test system", e); } exitCode = mainFormatter.getErrorCount(); }