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.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectServiceWizardPage.java
45 45
import eu.etaxonomy.cdm.print.XMLHelper;
46 46
import eu.etaxonomy.cdm.print.XMLHelper.EntityType;
47 47
import eu.etaxonomy.taxeditor.model.CdmProgressMonitorAdapter;
48
import eu.etaxonomy.taxeditor.model.MessagingUtils;
48 49
import eu.etaxonomy.taxeditor.printpublisher.PrintUtil;
49 50
import eu.etaxonomy.taxeditor.store.CdmStore;
50
import eu.etaxonomy.taxeditor.store.StoreUtil;
51 51

  
52 52
/**
53 53
 * <p>SelectServiceWizardPage class.</p>
......
225 225
			try {
226 226
				getContainer().run(true, false, runnable);
227 227
			} catch (InvocationTargetException e) {
228
				StoreUtil.error(this.getClass(), e);
228
				MessagingUtils.error(this.getClass(), e);
229 229
			} catch (InterruptedException e) {
230
				StoreUtil.error(this.getClass(), e);
230
				MessagingUtils.error(this.getClass(), e);
231 231
			}
232 232
		}
233 233
	}

Also available in: Unified diff