adding a taxon bulk editor and changes because the delete methods does not throw...
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / src / main / java / eu / etaxonomy / taxeditor / navigation / key / polytomous / operation / DeleteOperation.java
index 967c481e7a2f4dafdc53e28bb9d966bff4703964..abb15e3a4cf82f28788787c0a6963d64456d09e5 100644 (file)
@@ -52,11 +52,9 @@ public class DeleteOperation extends AbstractPersistentPostOperation {
        public IStatus execute(IProgressMonitor monitor, IAdaptable info)
                        throws ExecutionException {
                bind();
-               try{
-                       CdmStore.getService(IPolytomousKeyService.class).delete(key);
-               }catch(ReferencedObjectUndeletableException e){
-                       throw new ExecutionException(e.getMessage());
-               }
+               
+               String result = CdmStore.getService(IPolytomousKeyService.class).delete(key);
+               
                return postExecute(null);
        }