Commit bda75f95 authored by Long Bui's avatar Long Bui

improve error behaviour: SimQPN.runSimulator() now stops the simulation when...

improve error behaviour: SimQPN.runSimulator() now stops the simulation when an error occurs, e.g. ReplayFile could not be found
parent f3d4ce0c
......@@ -89,7 +89,7 @@ public class SimQPN implements IApplication {
Document inputDoc = loadXMLFile(inputFilename);
runSimulatorOnDocument(inputDoc, configuration, outputFilename, logConfigFilename, progress, null);
} catch (Exception e) {
e.printStackTrace();
throw new IllegalStateException(e);
}
}
......
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