if (!setres.isValid()) {
if (setres.getUserSettingsException() != null) {
CLIReportingUtils.showError("Error reading user settings: ", setres.getUserSettingsException(), req.isShowErrors(), new DefaultCoreErrorReporter(), out);
CLIReportingUtils.showError("Error reading global settings: ", setres.getGlobalSettingsException(), req.isShowErrors(), new DefaultCoreErrorReporter(), out);
CLIReportingUtils.showError("Runtime Exception thrown during execution", re, req.isShowErrors(), req.getErrorReporter(), out);
LOGGER.log(Level.FINE, re.getMessage(), re);
} catch (ThreadDeath death) {
CLIReportingUtils.showError("Killed.", new Exception(""), false, req.getErrorReporter(), out);
shutdownOutput(ioput);
ioput = null;