ref #6907 remove unused exception
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / descriptive / e4 / handler / CreateDescriptionElementHandler.java
index 65655dac4468646d5d7c84d13390d40be2f93268..6e23b063318e13ba1662d78bd76ec444b71ddcea 100644 (file)
@@ -13,7 +13,6 @@ import java.util.UUID;
 
 import javax.inject.Named;
 
-import org.eclipse.core.commands.common.NotDefinedException;
 import org.eclipse.e4.core.di.annotations.Execute;
 import org.eclipse.e4.core.di.annotations.Optional;
 import org.eclipse.e4.ui.model.application.ui.basic.MPart;
@@ -43,7 +42,7 @@ public class CreateDescriptionElementHandler {
 
     @Execute
     public void execute(@Named(IServiceConstants.ACTIVE_PART) MPart activePart,
-            @Optional@Named(IServiceConstants.ACTIVE_SELECTION) DescriptionBase description, MHandledMenuItem menuItem) throws NotDefinedException {
+            @Optional@Named(IServiceConstants.ACTIVE_SELECTION) DescriptionBase description, MHandledMenuItem menuItem) {
 
         String commandId = menuItem.getCommand().getElementId();
         UUID uuid = (UUID) menuItem.getTransientData().get(commandId+".feature.uuid");