org.utgenome.gwt.utgb.client
Enum UTGBClientErrorCode

java.lang.Object
  extended by java.lang.Enum<UTGBClientErrorCode>
      extended by org.utgenome.gwt.utgb.client.UTGBClientErrorCode
All Implemented Interfaces:
Serializable, Comparable<UTGBClientErrorCode>

public enum UTGBClientErrorCode
extends Enum<UTGBClientErrorCode>
implements Serializable

Error codes

Author:
leo

Enum Constant Summary
IO_ERROR
           
MISSING_FILES
           
NOT_IN_PROJECT_ROOT
           
PARSE_ERROR
           
UNKNOWN
           
UNKNOWN_TRACK
           
UNKNOWN_TRACK_GROUP
           
 
Method Summary
static UTGBClientErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UTGBClientErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final UTGBClientErrorCode UNKNOWN

PARSE_ERROR

public static final UTGBClientErrorCode PARSE_ERROR

MISSING_FILES

public static final UTGBClientErrorCode MISSING_FILES

NOT_IN_PROJECT_ROOT

public static final UTGBClientErrorCode NOT_IN_PROJECT_ROOT

UNKNOWN_TRACK

public static final UTGBClientErrorCode UNKNOWN_TRACK

UNKNOWN_TRACK_GROUP

public static final UTGBClientErrorCode UNKNOWN_TRACK_GROUP

IO_ERROR

public static final UTGBClientErrorCode IO_ERROR
Method Detail

values

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

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

valueOf

public static UTGBClientErrorCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2007-2012 utgenome.org. All Rights Reserved.