edu.isi.pegasus.common.util
Class ProfileParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.isi.pegasus.common.util.ProfileParserException
All Implemented Interfaces:
Serializable

public class ProfileParserException
extends Exception

This class is used to signal errors while parsing profile strings

Version:
$Revision: 2079 $
Author:
Gaurang Mehta, Jens-S. Vöckler
See Also:
ProfileParser, Serialized Form

Field Summary
private  int m_position
          Remembers the position that cause the exception to be thrown.
 
Constructor Summary
ProfileParserException(String msg, int position)
           
ProfileParserException(String msg, int position, Throwable cause)
           
 
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

m_position

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

Constructor Detail

ProfileParserException

public ProfileParserException(String msg,
                              int position)

ProfileParserException

public ProfileParserException(String msg,
                              int position,
                              Throwable cause)
Method Detail

getPosition

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

Returns:
a column position into the string


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