de.mpi_bremen.mgg.FastaValidator
Class FastaHandlingException

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

public class FastaHandlingException
extends java.lang.Exception

Thrown by implementations of the FastaValidatorCallback to indicate that their handling of the parsed data failed. Applications can subclass this exception when to indicate application-specific problems during the parsing process.

Author:
Jan Gerken
See Also:
Serialized Form

Constructor Summary
FastaHandlingException()
          Creates a new instance of this exception with null as its detail message and cause.
FastaHandlingException(java.lang.String detailMessage)
          Creates a new instance of this exception with the given detail message but no cause.
FastaHandlingException(java.lang.String detailMessage, java.lang.Throwable cause)
          Creates a new instance of this exception with the given detail message and cause.
FastaHandlingException(java.lang.Throwable cause)
          Creates a new instance of this exception with the given cause and a detail message containing the string representation of cause or code null if cause == null.
 
Method Summary
 
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

FastaHandlingException

public FastaHandlingException()
Creates a new instance of this exception with null as its detail message and cause.


FastaHandlingException

public FastaHandlingException(java.lang.String detailMessage)
Creates a new instance of this exception with the given detail message but no cause.

Parameters:
detailMessage - the detail message

FastaHandlingException

public FastaHandlingException(java.lang.Throwable cause)
Creates a new instance of this exception with the given cause and a detail message containing the string representation of cause or code null if cause == null.

Parameters:
cause - the cause

FastaHandlingException

public FastaHandlingException(java.lang.String detailMessage,
                              java.lang.Throwable cause)
Creates a new instance of this exception with the given detail message and cause.

Parameters:
detailMessage - the detail message
cause - the cause