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/matching/TeamOrPersonMatchingPreference.java
15 15
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
16 16
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
17 17
import eu.etaxonomy.cdm.strategy.match.MatchException;
18
import eu.etaxonomy.taxeditor.model.MessagingUtils;
18 19
import eu.etaxonomy.taxeditor.parser.MatchStrategyConfigurator;
19
import eu.etaxonomy.taxeditor.store.StoreUtil;
20 20

  
21 21
/**
22 22
 * <p>TeamOrPersonMatchingPreference class.</p>
......
39 39
		try {
40 40
			matchStrategy = MatchStrategyConfigurator.TeamOrPersonMatchStrategy();
41 41
		} catch (MatchException e) {
42
			StoreUtil.error(this.getClass(), e);
42
			MessagingUtils.error(this.getClass(), e);
43 43
			throw new RuntimeException(e);
44 44
		}
45 45
	}	

Also available in: Unified diff