org.griphyn.cPlanner.code.generator.condor
Class CondorQuoteParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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. |
|
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 |
mPosition
private int mPosition
- Remembers the position that cause the exception to be thrown.
CondorQuoteParserException
public CondorQuoteParserException(String msg,
int position)
- The overloaded constructor
- Parameters:
msg - the message to be thrown in exceptionposition - 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.
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.