public class ErrorConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_DIV_0
#DIV/0!
|
static int |
ERROR_FORMULA |
static int |
ERROR_NA
#N/A - Argument or function not available
|
static int |
ERROR_NAME
#NAME?
|
static int |
ERROR_NULL
#NULL!
|
static int |
ERROR_NUM
#NUM!
|
static int |
ERROR_REF
#REF!
|
static int |
ERROR_VALUE
#VALUE!
|
Modifier | Constructor and Description |
---|---|
protected |
ErrorConstants() |
Modifier and Type | Method and 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 int ERROR_FORMULA
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 © 2005-2010 Potix Corporation. All Rights Reserved.