void (Project project, @NotNull ExecutionEnvironment environment, Throwable e, RunProfile configuration) { String name = configuration != null ? configuration.getName() : environment.getRunProfile().getName(); String windowId = RunContentManager.getInstance(project).getToolWindowIdByEnvironment(environment); if (configuration instanceof ConfigurationWithCommandLineShortener && ExecutionUtil.isProcessNotCreated(e)) { handleProcessNotStartedError((ConfigurationWithCommandLineShortener)configuration, (ProcessNotCreatedException)e, name, windowId, environment); } else { ExecutionUtil.handleExecutionError(project, windowId, name, e); } }