void (@NotNull File sessionDataFile, IOException e) { final String path = sessionDataFile.getAbsolutePath(); if ("Invalid execution data file.".equals(e.getMessage())) { Notifications.Bus.notify(new Notification("Coverage", CoverageBundle.message("coverage.error.loading.report"), JavaCoverageBundle.message("coverage.error.jacoco.report.format", path), NotificationType.ERROR)); LOG.info(e); } else if (e.getMessage() != null && e.getMessage().startsWith("Unknown block type")) { Notifications.Bus.notify(new Notification("Coverage", CoverageBundle.message("coverage.error.loading.report"), JavaCoverageBundle.message("coverage.error.jacoco.report.corrupted", path), NotificationType.ERROR)); LOG.info(e); } else { LOG.error(e); } }