Skip to content
Snippets Groups Projects
Commit 8aae98fc authored by Sebastian Krings's avatar Sebastian Krings
Browse files

if counter-example is set to NULL because of an exception on the Prolog side,...

if counter-example is set to NULL because of an exception on the Prolog side, the DisproverReasoner no longer throws a NullPointerException but fails with an appropriate error message
parent fd66c173
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,11 @@ public class DisproverReasoner implements IReasoner {
IAntecedent ante = ProverFactory.makeAntecedent(goal);
if (counterExample == null) {
return ProverFactory.reasonerFailure(this, input,
"ProB: Error occurred.");
}
if (counterExample.timeoutOccured()) {
System.out.println(sequent.toString() + ": Timeout occured.");
return ProverFactory.reasonerFailure(this, input,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment