void (@NotNull AnActionEvent e) { DataContext dataContext = e.getDataContext(); try { new ExportToHTMLManager().executeExport(dataContext); } catch (NoSuchFileException ex) { JOptionPane.showMessageDialog(null, EditorBundle.message("file.not.found", ex.getMessage()), CommonBundle.getErrorTitle(), JOptionPane.ERROR_MESSAGE); } }