Package io.keikai.range.formula
Class EvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.keikai.range.formula.EvaluationException
- All Implemented Interfaces:
Serializable
Checked exception thrown by helper-base function implementations
(such as
TextFunction, MultiOperandNumericFunction)
to signal an Excel error result without short-circuiting the entire
evaluator.
The wrapped ErrorEval is what the calling base class
returns to the formula engine. Custom code should generally use the
named factories (invalidValue(), numberError(),
…) instead of constructing the wrapped ErrorEval directly.
Replaces org.apache.poi.ss.formula.eval.EvaluationException.
- Since:
- 7.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EvaluationExceptionstatic EvaluationExceptionstatic EvaluationExceptionstatic EvaluationExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EvaluationException
-
-
Method Details
-
getErrorEval
- Returns:
- the
ErrorEvalthat should be returned in lieu of a normal result.
-
invalidValue
-
invalidRef
-
numberError
-
divideByZero
-