Skip to content

Commit 0c1c6c6

Browse files
committed
- updated unsupported Operation Exception in a visitor Method.
1 parent 40bea36 commit 0c1c6c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/org/sosy_lab/java_smt/utils/ParseGenerateAndReparse.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,11 @@ public static boolean nativeMathSatParseAndIsUnsat(String smt2)
150150
}
151151

152152
public static void printError(Exception pE) {
153-
System.out.println("ERROR: ");
153+
if(pE instanceof UnsupportedOperationException){
154+
System.out.println("UNSUPPORTED: ");
155+
}else{
156+
System.out.println("ERROR: ");
157+
}
154158
pE.printStackTrace();
155159
System.exit(1);
156160
throw new RuntimeException(pE);

0 commit comments

Comments
 (0)