Moved all logging and dialog functionality to the new class MessagingUtils.
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / matching / AbstractMatchingPreferences.java
index 0a5e1589c310da3df7209b6c34d30380d01b0067..79ac53cd873793fc34eafad7b99b25f225d79dd7 100644 (file)
@@ -32,8 +32,8 @@ import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
 import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
 import eu.etaxonomy.cdm.strategy.match.MatchException;
 import eu.etaxonomy.cdm.strategy.match.MatchMode;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.parser.MatchStrategyConfigurator;
-import eu.etaxonomy.taxeditor.store.StoreUtil;
 
 /**
  * <p>Abstract AbstractMatchingPreferences class.</p>
@@ -143,7 +143,7 @@ public abstract class AbstractMatchingPreferences<T extends IdentifiableEntity>
                        try {
                                matchStrategy.setMatchMode(fieldName, matchMode);
                        } catch (MatchException e) {
-                               StoreUtil.error(this.getClass(), e);
+                               MessagingUtils.error(this.getClass(), e);
                                throw new RuntimeException(e);
                        }
                }
@@ -227,7 +227,7 @@ public abstract class AbstractMatchingPreferences<T extends IdentifiableEntity>
                        }
                        
                } catch (MatchException e) {
-                       StoreUtil.error(this.getClass(), e);
+                       MessagingUtils.error(this.getClass(), e);
                        throw new RuntimeException(e);
                }
                super.performDefaults();