Project

General

Profile

« Previous | Next » 

Revision 41e2f693

Added by Cherian Mathew over 9 years ago

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

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/AbstractMenuPreferences.java
44 44
import eu.etaxonomy.cdm.model.common.TermType;
45 45
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
46 46
import eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor;
47
import eu.etaxonomy.taxeditor.model.MessagingUtils;
47 48
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
48 49
import eu.etaxonomy.taxeditor.preference.wizard.VocabularyTermWizard;
49 50
import eu.etaxonomy.taxeditor.store.CdmStore;
......
251 252
							throw new RuntimeException("Could not find open command: "
252 253
									+ DefinedTermEditor.OPEN_COMMAND_ID);
253 254
						} catch (Exception e) {
254
							StoreUtil
255
							MessagingUtils
255 256
									.error(getClass(),
256 257
											"An exception occured while trying to open a selection",
257 258
											e);
258 259
						}
259 260
					}
260 261
				} catch (NotDefinedException e) {
261
					StoreUtil
262
					MessagingUtils
262 263
					.error(getClass(),
263 264
							"An exception occured while trying to open the Term Editor",
264 265
							e);

Also available in: Unified diff