org.utgenome
Enum UTGBErrorCode

java.lang.Object
  extended by java.lang.Enum<UTGBErrorCode>
      extended by org.utgenome.UTGBErrorCode
All Implemented Interfaces:
Serializable, Comparable<UTGBErrorCode>

public enum UTGBErrorCode
extends Enum<UTGBErrorCode>

Error coe

Author:
leo

Enum Constant Summary
AssertionFailure
           
BIND_ERROR
           
DatabaseError
           
FailedToLoadTrackConfig
           
FileNotFound
           
INHERITED
           
INVALID_BED_LINE
           
INVALID_FORMAT
           
INVALID_INPUT
           
InvalidRequestParameter
           
InvalidSQLSyntax
           
InvalidSyntax
           
IO_ERROR
           
JSONToObjectMapping
           
MaliciousSQLSyntax
           
MISSING_FILES
           
MISSING_OPTION
           
NOT_AN_ACGT
           
PARSE_ERROR
           
Unknown
           
UnknownDBType
           
ValidationFailure
           
 
Method Summary
static UTGBErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UTGBErrorCode[] 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 UTGBErrorCode Unknown

InvalidRequestParameter

public static final UTGBErrorCode InvalidRequestParameter

DatabaseError

public static final UTGBErrorCode DatabaseError

JSONToObjectMapping

public static final UTGBErrorCode JSONToObjectMapping

MaliciousSQLSyntax

public static final UTGBErrorCode MaliciousSQLSyntax

FailedToLoadTrackConfig

public static final UTGBErrorCode FailedToLoadTrackConfig

UnknownDBType

public static final UTGBErrorCode UnknownDBType

FileNotFound

public static final UTGBErrorCode FileNotFound

InvalidSQLSyntax

public static final UTGBErrorCode InvalidSQLSyntax

PARSE_ERROR

public static final UTGBErrorCode PARSE_ERROR

BIND_ERROR

public static final UTGBErrorCode BIND_ERROR

InvalidSyntax

public static final UTGBErrorCode InvalidSyntax

IO_ERROR

public static final UTGBErrorCode IO_ERROR

INVALID_INPUT

public static final UTGBErrorCode INVALID_INPUT

INHERITED

public static final UTGBErrorCode INHERITED

INVALID_BED_LINE

public static final UTGBErrorCode INVALID_BED_LINE

MISSING_FILES

public static final UTGBErrorCode MISSING_FILES

MISSING_OPTION

public static final UTGBErrorCode MISSING_OPTION

NOT_AN_ACGT

public static final UTGBErrorCode NOT_AN_ACGT

INVALID_FORMAT

public static final UTGBErrorCode INVALID_FORMAT

ValidationFailure

public static final UTGBErrorCode ValidationFailure

AssertionFailure

public static final UTGBErrorCode AssertionFailure
Method Detail

values

public static UTGBErrorCode[] 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 (UTGBErrorCode c : UTGBErrorCode.values())
    System.out.println(c);

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

valueOf

public static UTGBErrorCode 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.