Package io.keikai.model
Class ErrorValue
java.lang.Object
io.keikai.model.ErrorValue
- All Implemented Interfaces:
Serializable
An error result of a evaluated formula.
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ErrorValuestatic final ErrorValuestatic final byte#CALC! - Excel 365 calculation error (empty/nested arrays, unsupported array ops)static final byte#DIV/0! - Division by zerostatic final byte#N/A - Argument or function not availablestatic final byte#NULL! - Intersection of two cell ranges is emptystatic final byte#NUM! - Value range overflowstatic final byte#REF! - Illegal or deleted cell referencestatic final byte#SPILL! - Excel 365 dynamic array spill range blocked or out of rangestatic final ErrorValuestatic final bytestatic final byte#NAME? - Wrong function or range namestatic final byte#VALUE! - Wrong type of operandstatic final ErrorValuestatic final ErrorValuestatic final ErrorValuestatic final ErrorValuestatic final ErrorValuestatic final ErrorValuestatic final ErrorValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytegetCode()static final StringgetErrorString(int errorCode) voidsetCode(byte code) Set error code.voidsetMessage(String message) toString()static ErrorValuevalueOf(byte code)
-
Field Details
-
ERROR_NULL
public static final byte ERROR_NULL#NULL! - Intersection of two cell ranges is empty- See Also:
-
ERROR_DIV_0
public static final byte ERROR_DIV_0#DIV/0! - Division by zero- See Also:
-
INVALID_VALUE
public static final byte INVALID_VALUE#VALUE! - Wrong type of operand- See Also:
-
ERROR_REF
public static final byte ERROR_REF#REF! - Illegal or deleted cell reference- See Also:
-
INVALID_NAME
public static final byte INVALID_NAME#NAME? - Wrong function or range name- See Also:
-
ERROR_NUM
public static final byte ERROR_NUM#NUM! - Value range overflow- See Also:
-
ERROR_NA
public static final byte ERROR_NA#N/A - Argument or function not available- See Also:
-
ERROR_SPILL
public static final byte ERROR_SPILL#SPILL! - Excel 365 dynamic array spill range blocked or out of range- See Also:
-
ERROR_CALC
public static final byte ERROR_CALC#CALC! - Excel 365 calculation error (empty/nested arrays, unsupported array ops)- See Also:
-
INVALID_FORMULA
public static final byte INVALID_FORMULA- See Also:
-
NULL
-
DIV0
-
VALUE
-
REF
-
NAME
-
NUM
-
NA
-
SPILL
-
CALC
-
FORMULA
-
-
Constructor Details
-
ErrorValue
public ErrorValue(byte code) -
ErrorValue
-
-
Method Details
-
valueOf
-
getCode
public byte getCode() -
setCode
public void setCode(byte code) Set error code.- Parameters:
code- should be one of public byte constant in this class
-
getMessage
-
setMessage
-
getErrorString
- Returns:
- might be #NULL!, #NAME?, or #NUM! etc...
-
toString
-
getErrorString
-