Revision 41e2f693
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/CreateHomotypicSynonymHandler.java | ||
---|---|---|
22 | 22 |
import eu.etaxonomy.taxeditor.editor.Page; |
23 | 23 |
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor; |
24 | 24 |
import eu.etaxonomy.taxeditor.editor.name.operation.CreateSynonymInExistingHomotypicalGroupOperation; |
25 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
|
25 | 26 |
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation; |
26 | 27 |
import eu.etaxonomy.taxeditor.parser.ParseHandler; |
27 | 28 |
|
... | ... | |
52 | 53 |
editor.getUndoContext(), taxon, group, newSynonymName, editor); |
53 | 54 |
EditorUtil.executeOperation(operation); |
54 | 55 |
} catch (NotDefinedException e) { |
55 |
EditorUtil.error(getClass(), e);
|
|
56 |
MessagingUtils.error(getClass(), e);
|
|
56 | 57 |
} |
57 | 58 |
|
58 | 59 |
|
Also available in: Unified diff
Moved all logging and dialog functionality to the new class MessagingUtils.
Refactoring code to adapt to above change.
Added new custom error dialog - CdmErrorDialog
Added runtime exception handling to the ApplicationWorkbenchAdvisor by adding a custom status handler