Package io.keikai.axyra.sheets
Class AxyraFormulaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.keikai.axyra.sheets.AxyraException
io.keikai.axyra.sheets.AxyraFormulaException
- All Implemented Interfaces:
Serializable
A formula the API cannot accept: for example a syntactically invalid
formula passed to
Range.setFormula(java.lang.String) or Cell.setFormula(java.lang.String).
Those calls parse first and write nothing when they throw it.
This is distinct from a formula error value (#DIV/0!,
#VALUE!, …), which is data carried by CellValue.Error and is
never thrown.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAxyraFormulaException(String message) Creates a formula exception with a message.AxyraFormulaException(String message, Throwable cause) Creates a formula exception with a message and the cause it wraps. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AxyraFormulaException
Creates a formula exception with a message.- Parameters:
message- the detail message
-
AxyraFormulaException
Creates a formula exception with a message and the cause it wraps.- Parameters:
message- the detail messagecause- the underlying failure
-