private void runTask(RenameTask task, DataObject obj) { try { task.renamed(); } catch (IOException ex) { String path = obj.getPrimaryFile().getPath(); BubbleUtil.showException(Bundle.MSG_AbstractWorker_ErrorTask(path), ex); } }
@Override protected void done() { try { existingEntries = get(); } catch (Exception ex) { existingEntries = Collections.EMPTY_LIST; BubbleUtil.showException( Bundle.MSG_ImportDataWizardVisualPanelLast_LoadError(ds.getPath()), ex); } finally { setProgressRunning(false); tableModel.fireTableDataChanged(); cs.fireChange(); } }