void (Throwable e) { if (project.isDisposed() || ApplicationManager.getApplication().isUnitTestMode()) { throw new RuntimeException(e); } if (file != null) { DslErrorReporter.getInstance().invokeDslErrorPopup(e, project, file); } else { LOG.info("Error when executing internal GDSL " + myPath, e); GdslUtil.stopGdsl(); } }