be.ac.ulg.montefiore.run.jahmm.io
Class FileFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by be.ac.ulg.montefiore.run.jahmm.io.FileFormatException
All Implemented Interfaces:
java.io.Serializable

public class FileFormatException
extends java.lang.Exception

This exception reports the reading of an invalid (syntatically or lexically incorrect) file.

See Also:
Serialized Form

Constructor Summary
FileFormatException()
          Creates a new object reporting the reading of an invalid file.
FileFormatException(int lineNb, java.lang.String s)
          Creates a new object reporting the reading of an invalid file.
FileFormatException(java.lang.String s)
          Creates a new object reporting the reading of an invalid file.
 
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

FileFormatException

public FileFormatException()
Creates a new object reporting the reading of an invalid file.


FileFormatException

public FileFormatException(java.lang.String s)
Creates a new object reporting the reading of an invalid file.

Parameters:
s - A string describing the problem.

FileFormatException

public FileFormatException(int lineNb,
                           java.lang.String s)
Creates a new object reporting the reading of an invalid file.

Parameters:
lineNb - The line number where the problem occured.
s - A string describing the problem.


Copyright © 2004,2005 Jean-Marc François.