public class ErrorValue
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static ErrorValue |
DIV0 |
static byte |
ERROR_DIV_0
#DIV/0!
|
static byte |
ERROR_NA
#N/A - Argument or function not available
|
static byte |
ERROR_NULL
#NULL!
|
static byte |
ERROR_NUM
#NUM!
|
static byte |
ERROR_REF
#REF!
|
static ErrorValue |
FORMULA |
static byte |
INVALID_FORMULA |
static byte |
INVALID_NAME
#NAME?
|
static byte |
INVALID_VALUE
#VALUE!
|
static ErrorValue |
NA |
static ErrorValue |
NAME |
static ErrorValue |
NULL |
static ErrorValue |
NUM |
static ErrorValue |
REF |
static ErrorValue |
VALUE |
Constructor and Description |
---|
ErrorValue(byte code) |
ErrorValue(byte code,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
java.lang.String |
getErrorString() |
static java.lang.String |
getErrorString(int errorCode) |
java.lang.String |
getMessage() |
void |
setCode(byte code)
Set error code.
|
void |
setMessage(java.lang.String message) |
java.lang.String |
toString() |
static ErrorValue |
valueOf(byte code) |
public static final byte ERROR_NULL
public static final byte ERROR_DIV_0
public static final byte INVALID_VALUE
public static final byte ERROR_REF
public static final byte INVALID_NAME
public static final byte ERROR_NUM
public static final byte ERROR_NA
public static final byte INVALID_FORMULA
public static final ErrorValue NULL
public static final ErrorValue DIV0
public static final ErrorValue VALUE
public static final ErrorValue REF
public static final ErrorValue NAME
public static final ErrorValue NUM
public static final ErrorValue NA
public static final ErrorValue FORMULA
public ErrorValue(byte code)
public ErrorValue(byte code, java.lang.String message)
public static ErrorValue valueOf(byte code)
public byte getCode()
public void setCode(byte code)
code
- should be one of public byte constant in this classpublic java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getErrorString()
public java.lang.String toString()
toString
in class java.lang.Object
public static final java.lang.String getErrorString(int errorCode)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.