haifa.shopsim
Class JobShopFileFormatException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--haifa.shopsim.JobShopFileFormatException
All Implemented Interfaces:
java.io.Serializable

public class JobShopFileFormatException
extends java.lang.Exception

Thrown when the input file does not seem to match the specification.

Version:
1.1
See Also:
Serialized Form

Field Summary
protected  int lineNo
           
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
JobShopFileFormatException()
           
JobShopFileFormatException(int lineNo_)
          Sets excpetion with line on which error occured.
 
Method Summary
 int getLineNo()
          Returnes the line on which the exception was discuvered (the error in the file may be before that.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

lineNo

protected int lineNo
Constructor Detail

JobShopFileFormatException

public JobShopFileFormatException()

JobShopFileFormatException

public JobShopFileFormatException(int lineNo_)
Sets excpetion with line on which error occured.
Method Detail

getLineNo

public int getLineNo()
Returnes the line on which the exception was discuvered (the error in the file may be before that. Returns -1 if no line is reported