Class AxyraFormulaException

All Implemented Interfaces:
Serializable

public class AxyraFormulaException extends AxyraException
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 Details

    • AxyraFormulaException

      public AxyraFormulaException(String message)
      Creates a formula exception with a message.
      Parameters:
      message - the detail message
    • AxyraFormulaException

      public AxyraFormulaException(String message, Throwable cause)
      Creates a formula exception with a message and the cause it wraps.
      Parameters:
      message - the detail message
      cause - the underlying failure