Project

General

Profile

« Previous | Next » 

Revision 3f8e87ed

Added by Katja Luther almost 10 years ago

adding a taxon bulk editor and changes because the delete methods does not throw exceptions anymore

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/operation/DeleteOperation.java
52 52
	public IStatus execute(IProgressMonitor monitor, IAdaptable info)
53 53
			throws ExecutionException {
54 54
		bind();
55
		try{
56
			CdmStore.getService(IPolytomousKeyService.class).delete(key);
57
		}catch(ReferencedObjectUndeletableException e){
58
			throw new ExecutionException(e.getMessage());
59
		}
55
		
56
		String result = CdmStore.getService(IPolytomousKeyService.class).delete(key);
57
		
60 58
		return postExecute(null);
61 59
	}
62 60

  

Also available in: Unified diff