We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b18cfa commit 5bfcae6Copy full SHA for 5bfcae6
aima-gui/src/main/java/aima/gui/fx/framework/SimulationPaneCtrl.java
@@ -211,8 +211,11 @@ private void runSimulation() {
211
setState(State.RUNNING);
212
simMethod.run();
213
} catch (Exception e) {
214
- setStatus("Sorry, something went wrong during simulation.");
+ setStatus("Sorry, something went wrong during simulation: " + e.getClass().getSimpleName());
215
e.printStackTrace();
216
+ } catch (Error e) {
217
+ setStatus("Sorry, something went totally wrong during simulation: " + e.getClass().getSimpleName());
218
+ throw e;
219
}
220
setState(State.FINISHED);
221
0 commit comments