Class AxyraException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AxyraFormulaException, AxyraIoException

public class AxyraException extends RuntimeException
Base type for engine and API failures surfaced from the native layer.

Unchecked (extends RuntimeException). Thrown for API misuse (a closed workbook, a bad argument the engine rejects), when a second thread calls into a workbook that is busy ("workbook is already in use"), and for a panic inside the native engine. I/O and formula-specific failures use the AxyraIoException and AxyraFormulaException subtypes, so catch those first when you handle them differently.

Note: a formula error value in a cell (#VALUE!, …) is not an exception — it is data, carried by CellValue.Error.

See Also:
  • Constructor Details

    • AxyraException

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

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