statalign.io.input.plugins
Enum NewickReader.FormatExceptType

java.lang.Object
  extended by java.lang.Enum<NewickReader.FormatExceptType>
      extended by statalign.io.input.plugins.NewickReader.FormatExceptType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NewickReader.FormatExceptType>
Enclosing class:
NewickReader

public static enum NewickReader.FormatExceptType
extends java.lang.Enum<NewickReader.FormatExceptType>


Enum Constant Summary
EDGELEN_ERROR
           
EMPTY_FIELD
           
PARSE_ERROR
           
PREMATURE_END
           
 
Method Summary
 java.lang.String getMessage()
           
static NewickReader.FormatExceptType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NewickReader.FormatExceptType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PARSE_ERROR

public static final NewickReader.FormatExceptType PARSE_ERROR

PREMATURE_END

public static final NewickReader.FormatExceptType PREMATURE_END

EDGELEN_ERROR

public static final NewickReader.FormatExceptType EDGELEN_ERROR

EMPTY_FIELD

public static final NewickReader.FormatExceptType EMPTY_FIELD
Method Detail

values

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

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

valueOf

public static NewickReader.FormatExceptType 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
java.lang.NullPointerException - if the argument is null

getMessage

public java.lang.String getMessage()