- error handling for report file
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / io / wizard / AbcdImportWizard.java
index 36ec38a4e446ec9559bb9d3468b1bc1e1fb76aa3..19eb4604d84c79aa0919c8bc74c5664ab84ae361 100644 (file)
@@ -21,7 +21,9 @@ import org.eclipse.ui.IWorkbench;
 
 import eu.etaxonomy.cdm.database.DbSchemaValidation;
 import eu.etaxonomy.cdm.io.specimen.abcd206.in.Abcd206ImportConfigurator;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.store.CdmStore;
+import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin;
 
 /**
  * <p>AbcdImportWizard class.</p>
@@ -57,6 +59,7 @@ public class AbcdImportWizard extends AbstractImportWizard<Abcd206ImportConfigur
                try {
             configurator.setSource(new FileInputStream(new File(source)));
         } catch (FileNotFoundException e) {
+            MessagingUtils.errorDialog("File not found.", this, "Import file was not found.", TaxeditorStorePlugin.PLUGIN_ID, e, false);
             logger.error("File not found!", e);
             return false;
         }