de.mpi_bremen.mgg.FastaValidator
Class FastaFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.mpi_bremen.mgg.FastaValidator.FastaValidatorException
              extended by de.mpi_bremen.mgg.FastaValidator.FastaFormatException
All Implemented Interfaces:
java.io.Serializable

public class FastaFormatException
extends FastaValidatorException

Specialization of FastaValidatorException, which is thrown on semantic errors

Author:
Jost Waldmann
See Also:
Serialized Form

Constructor Summary
FastaFormatException(java.lang.String s, int line)
          Constructs a FastaFormatException.
 
Method Summary
 int getLine()
          Returns the line number of the error.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FastaFormatException

public FastaFormatException(java.lang.String s,
                            int line)
Constructs a FastaFormatException. Sets internal variable (_line).

Parameters:
s - the errormessage
line - the line number where the error occured (starting with 0)
Method Detail

getLine

public int getLine()
Returns the line number of the error.