2017-09-07 13:05:16 -07:00
|
|
|
package org.nwapw.abacus.exception;
|
2017-09-06 21:43:07 -07:00
|
|
|
|
|
|
|
/**
|
2017-09-22 11:58:19 -07:00
|
|
|
* An exception thrown from TreeReducers.
|
2017-09-06 21:43:07 -07:00
|
|
|
*/
|
2017-09-22 11:58:19 -07:00
|
|
|
public class ReductionException extends AbacusException {
|
2017-09-06 21:43:07 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Creates a new EvaluationException with the default string.
|
|
|
|
*/
|
2017-09-22 11:58:19 -07:00
|
|
|
public ReductionException() {
|
2017-09-07 13:21:18 -07:00
|
|
|
this("");
|
2017-09-06 21:43:07 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Creates a new EvaluationError with the given message string.
|
|
|
|
* @param message the message string.
|
|
|
|
*/
|
2017-09-22 11:58:19 -07:00
|
|
|
public ReductionException(String message) {
|
2017-09-07 13:05:16 -07:00
|
|
|
super("Evaluation error", message);
|
2017-09-06 21:43:07 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|