Commit 6599a3a1 authored by Julian Zobel's avatar Julian Zobel
Browse files

Made XML parsing error in configurator more definitive of the error (but still...

Made XML parsing error in configurator more definitive of the error (but still not very verbose about whats the "real" problem"
parent ca2d95b7
......@@ -245,13 +245,13 @@ public class DefaultConfigurator implements Configurator {
return componentList;
} catch (DocumentException e) {
throw new ConfigurationException(
"Failed to load configuration from file " + configFile, e);
"Failed to load configuration from file " + configFile + " (DocumentException)", e);
} catch (ParserConfigurationException e) {
throw new ConfigurationException(
"Failed to load configuration from file " + configFile, e);
"Failed to load configuration from file " + configFile + " (ParserConfigurationException)", e);
} catch (SAXException e) {
throw new ConfigurationException(
"Failed to load configuration from file " + configFile, e);
"Failed to load configuration from file " + configFile + " (SAXException)", e);
}
}
......
......@@ -33,11 +33,9 @@ import de.tud.kom.p2psim.api.common.SimHost;
import de.tudarmstadt.maki.simonstrator.api.Graphs;
import de.tudarmstadt.maki.simonstrator.api.Host;
import de.tudarmstadt.maki.simonstrator.api.Randoms;
import de.tudarmstadt.maki.simonstrator.api.common.graph.DirectedEdge;
import de.tudarmstadt.maki.simonstrator.api.common.graph.Graph;
import de.tudarmstadt.maki.simonstrator.api.common.graph.IEdge;
import de.tudarmstadt.maki.simonstrator.api.common.graph.INode;
import de.tudarmstadt.maki.simonstrator.api.common.graph.Node;
import de.tudarmstadt.maki.simonstrator.api.component.ComponentNotAvailableException;
import de.tudarmstadt.maki.simonstrator.api.component.core.OracleComponent;
import de.tudarmstadt.maki.simonstrator.api.component.network.NetID;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment