public final class ErrPtg extends ScalarConstantPtg
Modifier and Type | Field and Description |
---|---|
static ErrPtg |
DIV_ZERO
#DIV/0! - Division by zero
|
static ErrPtg |
N_A
#N/A - Argument or function not available
|
static ErrPtg |
NAME_INVALID
#NAME? - Wrong function or range name
|
static ErrPtg |
NULL_INTERSECTION
#NULL! - Intersection of two cell ranges is empty
|
static ErrPtg |
NUM_ERROR
#NUM! - Value range overflow
|
static ErrPtg |
REF_INVALID
#REF! - Illegal or deleted cell reference
|
static short |
sid |
static ErrPtg |
VALUE_INVALID
#VALUE! - Wrong type of operand
|
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Modifier and Type | Method and Description |
---|---|
ErrPtg |
copy() |
int |
getErrorCode() |
int |
getSize() |
static ErrPtg |
read(LittleEndianInput in) |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
static ErrPtg |
valueOf(int code) |
void |
write(LittleEndianOutput out) |
getDefaultOperandClass, isBaseToken, toString
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
public static final ErrPtg NULL_INTERSECTION
public static final ErrPtg DIV_ZERO
public static final ErrPtg VALUE_INVALID
public static final ErrPtg REF_INVALID
public static final ErrPtg NAME_INVALID
public static final ErrPtg NUM_ERROR
public static final ErrPtg N_A
public static final short sid
public static ErrPtg read(LittleEndianInput in)
public void write(LittleEndianOutput out)
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class Ptg
public int getSize()
public int getErrorCode()
public static ErrPtg valueOf(int code)
public ErrPtg copy()
copy
in interface Duplicatable
copy
in class Ptg
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.