org.apache.poi.ss.usermodel
Class ErrorConstants
- java.lang.Object
-
- org.apache.poi.ss.usermodel.ErrorConstants
-
- Direct Known Subclasses:
- HSSFErrorConstants
Deprecated.UseFormulaErrorinstead where possible
public class ErrorConstants extends java.lang.ObjectContains raw Excel error codes (as defined in OOO's excelfileformat.pdf (2.5.6)
-
-
Field Summary
Fields Modifier and Type Field and Description static intERROR_DIV_0Deprecated.#DIV/0! - Division by zerostatic intERROR_NADeprecated.#N/A - Argument or function not availablestatic intERROR_NAMEDeprecated.#NAME? - Wrong function or range namestatic intERROR_NULLDeprecated.#NULL! - Intersection of two cell ranges is emptystatic intERROR_NUMDeprecated.#NUM! - Value range overflowstatic intERROR_REFDeprecated.#REF! - Illegal or deleted cell referencestatic intERROR_VALUEDeprecated.#VALUE! - Wrong type of operand
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description static java.lang.StringgetText(int errorCode)Deprecated.static booleanisValidCode(int errorCode)Deprecated.
-
-
-
Field Detail
-
ERROR_NULL
public static final int ERROR_NULL
Deprecated.#NULL! - Intersection of two cell ranges is empty- See Also:
- Constant Field Values
-
ERROR_DIV_0
public static final int ERROR_DIV_0
Deprecated.#DIV/0! - Division by zero- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
Deprecated.#VALUE! - Wrong type of operand- See Also:
- Constant Field Values
-
ERROR_REF
public static final int ERROR_REF
Deprecated.#REF! - Illegal or deleted cell reference- See Also:
- Constant Field Values
-
ERROR_NAME
public static final int ERROR_NAME
Deprecated.#NAME? - Wrong function or range name- See Also:
- Constant Field Values
-
ERROR_NUM
public static final int ERROR_NUM
Deprecated.#NUM! - Value range overflow- See Also:
- Constant Field Values
-
ERROR_NA
public static final int ERROR_NA
Deprecated.#N/A - Argument or function not available- See Also:
- Constant Field Values
-
-
Method Detail
-
getText
public static final java.lang.String getText(int errorCode)
Deprecated.- Returns:
- Standard Excel error literal for the specified error code.
- Throws:
java.lang.IllegalArgumentException- if the specified error code is not one of the 7 standard error codes
-
isValidCode
public static final boolean isValidCode(int errorCode)
Deprecated.- Returns:
trueif the specified error code is a standard Excel error code.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG