| Enum Constant and Description |
|---|
Calc |
Div0
Occurs when a formula attempts to divide by zero.
|
GettingData |
NA
Indicates that a value is not available to a formula.
|
Name
Occurs if Excel does not recognise a formula name or does not recognise text within a formula.
|
None
Specifies no error.
|
Null
Occurs when you refer to an intersection of two ranges that do not intersect.
|
Num
Occurs when Excel encounters an invalid number.
|
Ref
Occurs when a formula contains an invalid cell reference.
|
Spill |
Value
Occurs if one of the variables in your formula is of the wrong type (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static CalcError |
forValue(int value) |
int |
getValue() |
static CalcError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CalcError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalcError None
public static final CalcError Null
public static final CalcError Div0
public static final CalcError Value
public static final CalcError Ref
public static final CalcError Name
public static final CalcError Num
public static final CalcError NA
public static final CalcError GettingData
public static final CalcError Spill
public static final CalcError Calc
public static CalcError[] values()
for (CalcError c : CalcError.values()) System.out.println(c);
public static CalcError valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static CalcError forValue(int value)