edu.isi.pegasus.planner.parser
Class ScannerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.isi.pegasus.planner.parser.ScannerException
All Implemented Interfaces:
Serializable

public class ScannerException
extends RuntimeException

This class is used to signal errors while scanning or parsing.

Version:
$Revision: 2175 $
Author:
Jens Voeckler, Karan Vahi, Gaurang Mehta
See Also:
org.griphyn.cPlanner.classes.PoolConfigScanner, org.griphyn.cPlanner.classes.PoolConfigParser2, Serialized Form

Field Summary
private  int m_lineno
           
 
Constructor Summary
ScannerException(int lineno, String message)
           
ScannerException(LineNumberReader stream, String message)
           
 
Method Summary
 int getLineNumber()
           
 
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
 

Field Detail

m_lineno

private int m_lineno
Constructor Detail

ScannerException

public ScannerException(LineNumberReader stream,
                        String message)

ScannerException

public ScannerException(int lineno,
                        String message)
Method Detail

getLineNumber

public int getLineNumber()


Copyright © 2011 The University of Southern California. All Rights Reserved.