| Modifier and Type | Field and Description |
|---|---|
| public static final FormulaError | |
| private static final Map | |
| public static final FormulaError | CIRCULAR_REF
POI specific code to indicate that there is a circular reference in the formula |
| public static final FormulaError | DIV0
Intended to indicate when any number, including zero, is divided by zero. |
| public static final FormulaError | FUNCTION_NOT_IMPLEMENTED
POI specific code to indicate that the function required is not implemented in POI |
| private static final Map | |
| private final int | |
| public static final FormulaError | NA
Intended to indicate when a designated value is not available. |
| public static final FormulaError | NAME
Intended to indicate when what looks like a name is used, but no such name has been defined. |
| public static final FormulaError | NULL
Intended to indicate when two areas are required to intersect, but do not. |
| public static final FormulaError | NUM
Intended to indicate when an argument to a function has a compatible type, but has a value that is outside the domain over which that function is defined. |
| public static final FormulaError | REF
Intended to indicate when a cell reference is invalid. |
| private final String | |
| private static final Map | |
| private final byte | |
| public static final FormulaError | VALUE
Intended to indicate when an incompatible type argument is passed to a function, or an incompatible type operand is used with an operator. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FormulaError | |
| public static FormulaError | |
| public static FormulaError | |
| public byte | |
| public int | |
| public String | |
| public static boolean | |
| public static FormulaError | |
| public static FormulaError[] |
| _NO_ERROR | back to summary |
|---|---|
| public static final FormulaError _NO_ERROR
| |
| bmap | back to summary |
|---|---|
| private static final Map<Byte, FormulaError> bmap | |
| CIRCULAR_REF | back to summary |
|---|---|
| public static final FormulaError CIRCULAR_REF POI specific code to indicate that there is a circular reference in the formula | |
| DIV0 | back to summary |
|---|---|
| public static final FormulaError DIV0 Intended to indicate when any number, including zero, is divided by zero. Note However, any error code divided by zero results in that error code. | |
| FUNCTION_NOT_IMPLEMENTED | back to summary |
|---|---|
| public static final FormulaError FUNCTION_NOT_IMPLEMENTED POI specific code to indicate that the function required is not implemented in POI | |
| imap | back to summary |
|---|---|
| private static final Map<Integer, FormulaError> imap | |
| longType | back to summary |
|---|---|
| private final int longType | |
| NA | back to summary |
|---|---|
| public static final FormulaError NA Intended to indicate when a designated value is not available. Example: Some functions, such as SUMX2MY2, perform a series of operations on corresponding elements in two arrays. If those arrays do not have the same number of elements, then for some elements in the longer array, there are no corresponding elements in the shorter one; that is, one or more values in the shorter array are not available. This error value can be produced by calling the function NA | |
| NAME | back to summary |
|---|---|
| public static final FormulaError NAME Intended to indicate when what looks like a name is used, but no such name has been defined. Example:
| |
| NULL | back to summary |
|---|---|
| public static final FormulaError NULL Intended to indicate when two areas are required to intersect, but do not. Example: In the case of SUM(B1 C1), the space between B1 and C1 is treated as the binary intersection operator, when a comma was intended. end example] | |
| NUM | back to summary |
|---|---|
| public static final FormulaError NUM Intended to indicate when an argument to a function has a compatible type, but has a value that is outside the domain over which that function is defined. (This is known as a domain error.) Example: Certain calls to ASIN, ATANH, FACT, and SQRT might result in domain errors. Intended to indicate that the result of a function cannot be represented in a value of the specified type, typically due to extreme magnitude. (This is known as a range error.)Example: FACT(1000) might result in a range error. | |
| REF | back to summary |
|---|---|
| public static final FormulaError REF Intended to indicate when a cell reference is invalid. Example: If a formula contains a reference to a cell, and then the row or column containing that cell is deleted, a #REF! error results. If a worksheet does not support 20,001 columns, OFFSET(A1,0,20000) will result in a #REF! error. | |
| repr | back to summary |
|---|---|
| private final String repr | |
| smap | back to summary |
|---|---|
| private static final Map<String, FormulaError> smap | |
| type | back to summary |
|---|---|
| private final byte type | |
| VALUE | back to summary |
|---|---|
| public static final FormulaError VALUE Intended to indicate when an incompatible type argument is passed to a function, or an incompatible type operand is used with an operator. Example: In the case of a function argument, text was expected, but a number was provided | |
| FormulaError | back to summary |
|---|---|
| private FormulaError(int type, String repr) | |
| forInt | back to summary |
|---|---|
| public static FormulaError forInt(byte type) throws IllegalArgumentException | |
| forInt | back to summary |
|---|---|
| public static FormulaError forInt(int type) throws IllegalArgumentException | |
| forString | back to summary |
|---|---|
| public static FormulaError forString(String code) throws IllegalArgumentException | |
| getCode | back to summary |
|---|---|
public byte getCode()
| |
| getLongCode | back to summary |
|---|---|
public int getLongCode()
| |
| getString | back to summary |
|---|---|
public String getString()
| |
| isValidCode | back to summary |
|---|---|
| public static boolean isValidCode(int errorCode) | |
| valueOf | back to summary |
|---|---|
| public static FormulaError valueOf(String name) | |
| values | back to summary |
|---|---|
| public static FormulaError[] values() | |