void () { if (myExceptions[0] != null) { Messages.showErrorDialog(project, myExceptions[0].getMessage(), CommonBundle.getErrorTitle()); return; } if (settings.OPEN_IN_BROWSER) { BrowserUtil.browse(new File(settings.OUTPUT_DIRECTORY, "index.html")); } }