-// $Id$
/**
* Copyright (C) 2007 EDIT
* European Distributed Institute of Taxonomy
import org.eclipse.ui.WorkbenchException;
import org.eclipse.ui.XMLMemento;
-import eu.etaxonomy.taxeditor.store.StoreUtil;
/**
* <p>MementoHelper class.</p>
new InputStreamReader(input, "utf-8")); //$NON-NLS-1$
return XMLMemento.createReadRoot(reader);
} catch (WorkbenchException e) {
- StoreUtil.error(MementoHelper.class, "Exception while reading the memento", e);
+ MessagingUtils.error(MementoHelper.class, "Exception while reading the memento", e);
} catch (UnsupportedEncodingException e) {
- StoreUtil.error(MementoHelper.class, "Exception while reading the memento", e);
+ MessagingUtils.error(MementoHelper.class, "Exception while reading the memento", e);
}
return null;
writer.close();
} catch (IOException e) {
stateFile.delete();
- StoreUtil.error(MementoHelper.class, "Could not save datasource state", e);
+ MessagingUtils.error(MementoHelper.class, "Could not save datasource state", e);
return null;
}