org.millscript.office.spreadsheet.formula
Enum Error

java.lang.Object
  extended by java.lang.Enum<Error>
      extended by org.millscript.office.spreadsheet.formula.Error
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Error>

public enum Error
extends java.lang.Enum<Error>


Enum Constant Summary
DIV_BY_ZERO
           
N_A
           
NAME
           
NULL
           
NUM
           
REF
           
VALUE
           
 
Method Summary
static Error getError(int code)
           
 java.lang.String toString()
           
static Error valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Error[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NULL

public static final Error NULL

DIV_BY_ZERO

public static final Error DIV_BY_ZERO

VALUE

public static final Error VALUE

REF

public static final Error REF

NAME

public static final Error NAME

NUM

public static final Error NUM

N_A

public static final Error N_A
Method Detail

values

public static final Error[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Error c : Error.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Error valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getError

public static Error getError(int code)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Error>
See Also:
Enum.toString()


Copyright © 2006-2007 Open World Ltd. All Rights Reserved.