Revision 41e2f693
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/handler/CreateTermVocabularyHandler.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
import eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor; |
21 | 21 |
import eu.etaxonomy.taxeditor.editor.definedterm.operation.CreateTermVocabularyOperation; |
22 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
|
22 | 23 |
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation; |
23 | 24 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
24 | 25 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
... | ... | |
54 | 55 |
StoreUtil.executeOperation(operation); |
55 | 56 |
|
56 | 57 |
} catch (NotDefinedException e) { |
57 |
StoreUtil.error(getClass(), e);
|
|
58 |
MessagingUtils.error(getClass(), e);
|
|
58 | 59 |
} |
59 | 60 |
} |
60 | 61 |
return null; |
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