adding a taxon bulk editor and changes because the delete methods does not throw...
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / name / operation / DeleteTaxonOperation.java
index b7b3b75e2ab893a735828cc783721ff767036d21..8274cc91fea3725a6b30ad217c85331972c9ba37 100644 (file)
@@ -66,15 +66,10 @@ public class DeleteTaxonOperation extends DeleteTaxonBaseOperation{
                                controller = (ICdmApplicationConfiguration) CdmStore.getCurrentApplicationConfiguration();\r
 \r
                                ITaxonService service = controller.getTaxonService();\r
-                               try {\r
+                               \r
 \r
-                                       service.deleteTaxon(element, new TaxonDeletionConfigurator(), classification);\r
+                               String result = service.deleteTaxon(element, new TaxonDeletionConfigurator(), classification);\r
 \r
-                               } catch (DataChangeNoRollbackException e) {\r
-                                       // TODO Auto-generated catch block\r
-                                       e.printStackTrace();\r
-\r
-                               }\r
 \r
                                //closeObsoleteEditor(taxon);\r
                                monitor.worked(40);\r