Package io.keikai.axyra.sheets
Class AxyraException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.keikai.axyra.sheets.AxyraException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AxyraFormulaException,AxyraIoException
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 Summary
ConstructorsConstructorDescriptionAxyraException(String message) Creates an exception with a message.AxyraException(String message, Throwable cause) Creates an 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
-
AxyraException
Creates an exception with a message.- Parameters:
message- the detail message
-
AxyraException
Creates an exception with a message and the cause it wraps.- Parameters:
message- the detail messagecause- the underlying failure
-