better error handling

This commit is contained in:
rusefi 2020-06-01 20:07:55 -04:00
parent 9d8537d434
commit 1395d38c15
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public abstract class AbstractEvaluator<T> {
rpnPush("deq", operator.getSymbol());
values.push(evaluate(operator, getArguments(values, operator.getOperandCount()), evaluationContext));
} else {
throw new IllegalArgumentException();
throw new IllegalArgumentException(token.toString());
}
}