Skip to content

Commit 40bea36

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

File tree

1 file changed

+1
-1
lines changed
  • src/org/sosy_lab/java_smt/basicimpl/parserInterpreter

1 file changed

+1
-1
lines changed

src/org/sosy_lab/java_smt/basicimpl/parserInterpreter/Visitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ public Object visitMultiterm(MultitermContext ctx) {
968968
return Objects.requireNonNull(imgr).distinct(integerOperands);
969969
}
970970
} catch (Exception e) {
971-
throw new ParserException("Operands for " + operator + " need to be of numeral type");
971+
throw new UnsupportedOperationException("JavaSMT support distinct only for numeral types!");
972972
}
973973
} else {
974974
throw new ParserException(operator + " takes at least one numeral operand as input. ");

0 commit comments

Comments
 (0)