|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.ss.formula.eval.ErrorEval
public final class ErrorEval
Evaluations for formula errors
Field Summary | |
---|---|
static ErrorEval |
CIRCULAR_REF_ERROR
|
static ErrorEval |
DIV_ZERO
#DIV/0! - Division by zero |
static ErrorEval |
FUNCTION_NOT_IMPLEMENTED
|
static ErrorEval |
NA
#N/A - Argument or function not available |
static ErrorEval |
NAME_INVALID
#NAME? - Wrong function or range name |
static ErrorEval |
NULL_INTERSECTION
#NULL! - Intersection of two cell ranges is empty |
static ErrorEval |
NUM_ERROR
#NUM! - Value range overflow |
static ErrorEval |
REF_INVALID
#REF! - Illegal or deleted cell reference |
static ErrorEval |
VALUE_INVALID
#VALUE! - Wrong type of operand |
Method Summary | |
---|---|
int |
getErrorCode()
|
java.lang.String |
getErrorString()
|
static java.lang.String |
getText(int errorCode)
Converts error codes to text. |
java.lang.String |
toString()
|
static ErrorEval |
valueOf(int errorCode)
Translates an Excel internal error code into the corresponding POI ErrorEval instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ErrorEval NULL_INTERSECTION
public static final ErrorEval DIV_ZERO
public static final ErrorEval VALUE_INVALID
public static final ErrorEval REF_INVALID
public static final ErrorEval NAME_INVALID
public static final ErrorEval NUM_ERROR
public static final ErrorEval NA
public static final ErrorEval FUNCTION_NOT_IMPLEMENTED
public static final ErrorEval CIRCULAR_REF_ERROR
Method Detail |
---|
public static ErrorEval valueOf(int errorCode)
errorCode
- An error code listed in FormulaError
java.lang.RuntimeException
- If an unknown errorCode is specifiedpublic static java.lang.String getText(int errorCode)
public int getErrorCode()
public java.lang.String getErrorString()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |