| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.ss.usermodel.ErrorConstants
FormulaError
instead where possiblepublic class ErrorConstants
Contains raw Excel error codes (as defined in OOO's excelfileformat.pdf (2.5.6)
Field Summary | |
---|---|
static int | ERROR_DIV_0 Deprecated. #DIV/0! - Division by zero |
static int | ERROR_NA Deprecated. #N/A - Argument or function not available |
static int | ERROR_NAME Deprecated. #NAME? - Wrong function or range name |
static int | ERROR_NULL Deprecated. #NULL! - Intersection of two cell ranges is empty |
static int | ERROR_NUM Deprecated. #NUM! - Value range overflow |
static int | ERROR_REF Deprecated. #REF! - Illegal or deleted cell reference |
static int | ERROR_VALUE Deprecated. #VALUE! - Wrong type of operand |
Constructor Summary | |
---|---|
protected | ErrorConstants() Deprecated. |
Method Summary | |
---|---|
static java.lang.String | getText(int errorCode) Deprecated. |
static boolean | isValidCode(int errorCode) Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ERROR_NULL
public static final int ERROR_DIV_0
public static final int ERROR_VALUE
public static final int ERROR_REF
public static final int ERROR_NAME
public static final int ERROR_NUM
public static final int ERROR_NA
Constructor Detail |
---|
protected ErrorConstants()
Method Detail |
---|
public static final java.lang.String getText(int errorCode)
java.lang.IllegalArgumentException
- if the specified error code is not one of the 7 standard error codespublic static final boolean isValidCode(int errorCode)
true
if the specified error code is a standard Excel error code.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |