Commit 0d1c0913 authored by Nikola Simidjievski's avatar Nikola Simidjievski
Browse files

minor bug fix

parent c7cce0d7
......@@ -856,7 +856,7 @@ public class Task {
this.sim_out.println("DATASET_ID:" + datasets.get(i).getId());
try {
this.sim_out.println(eModel.getSimulations().get(i));
} catch (NullPointerException e) {
} catch (NullPointerException | IndexOutOfBoundsException e) {
this.sim_out.println("FAILED SIMULATION");
}
......@@ -875,7 +875,7 @@ public class Task {
this.eval_out.println("DATASET_ID:" + testDatasets.get(j).getId());
try {
this.eval_out.println(eModel.getEvaluations().get(j));
} catch (NullPointerException e) {
} catch (NullPointerException | IndexOutOfBoundsException e) {
this.eval_out.println("FAILED SIMULATION");
}
}
......
Supports Markdown
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