mirror of
https://github.com/DanilaFe/abacus
synced 2024-07-04 08:01:30 -07:00
26 lines
650 B
Java
26 lines
650 B
Java
|
package org.nwapw.abacus.function;
|
||
|
|
||
|
/**
|
||
|
* An exception thrown primarily from Tree Value operators and functions,
|
||
|
* which have to deal with the result of a Reducer as well as the results
|
||
|
* of Applicable.
|
||
|
*/
|
||
|
public class EvaluationException extends RuntimeException {
|
||
|
|
||
|
/**
|
||
|
* Creates a new EvaluationException with the default string.
|
||
|
*/
|
||
|
public EvaluationException() {
|
||
|
super("Error evaluating expression.");
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Creates a new EvaluationError with the given message string.
|
||
|
* @param message the message string.
|
||
|
*/
|
||
|
public EvaluationException(String message) {
|
||
|
super(message);
|
||
|
}
|
||
|
|
||
|
}
|