HSSFErrorConstants
public class ErrorConstants
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
ERROR_DIV_0 |
#DIV/0! - Division by zero
|
static int |
ERROR_NA |
#N/A - Argument or function not available
|
static int |
ERROR_NAME |
#NAME? - Wrong function or range name
|
static int |
ERROR_NULL |
#NULL! - Intersection of two cell ranges is empty
|
static int |
ERROR_NUM |
#NUM! - Value range overflow
|
static int |
ERROR_REF |
#REF! - Illegal or deleted cell reference
|
static int |
ERROR_VALUE |
#VALUE! - Wrong type of operand
|
Modifier | Constructor | Description |
---|---|---|
protected |
ErrorConstants() |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
getText(int errorCode) |
|
static boolean |
isValidCode(int errorCode) |
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
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.Copyright 2018 The Apache Software Foundation or its licensors, as applicable.