org.griphyn.cPlanner.code.generator.condor
Class CondorQuoteParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.griphyn.cPlanner.code.generator.condor.CondorQuoteParserException
All Implemented Interfaces:
Serializable

public class CondorQuoteParserException
extends Exception

This class is used to signal errors while parsing argument strings for Condor Quoting.

Version:
$Revision: 50 $
Author:
Karan Vahi, Gaurang Mehta
See Also:
CondorQuoteParser, Serialized Form

Field Summary
private  int mPosition
          Remembers the position that cause the exception to be thrown.
 
Constructor Summary
CondorQuoteParserException(String msg, int position)
          The overloaded constructor
CondorQuoteParserException(String msg, int position, Throwable cause)
          The overloaded constructor
 
Method Summary
 int getPosition()
          Obtains the position at which point the exception was thrown.
 
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

mPosition

private int mPosition
Remembers the position that cause the exception to be thrown.

Constructor Detail

CondorQuoteParserException

public CondorQuoteParserException(String msg,
                                  int position)
The overloaded constructor

Parameters:
msg - the message to be thrown in exception
position - the position at which error occured

CondorQuoteParserException

public CondorQuoteParserException(String msg,
                                  int position,
                                  Throwable cause)
The overloaded constructor

Parameters:
msg - the message to be thrown in exception.
position - the position at which error occured.
cause - the cause of the error.
Method Detail

getPosition

public int getPosition()
Obtains the position at which point the exception was thrown.

Returns:
a column position into the string


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