void (@NotNull UUID sessionId, CmdlineRemoteProto.Message.Failure failure) { updateBuildStatus(CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status.ERRORS); if (myProject.isDisposed()) { return; } String descr = failure.hasDescription() ? failure.getDescription() : null; if (descr == null) { descr = failure.hasStacktrace()? failure.getStacktrace() : ""; } final String msg = JavaCompilerBundle.message("notification.compiler.auto.build.failure", descr); CompilerManager.NOTIFICATION_GROUP.createNotification(msg, MessageType.INFO).notify(myProject); ProblemsView.getInstance(myProject).addMessage(new CompilerMessageImpl(myProject, CompilerMessageCategory.ERROR, msg), sessionId); }