com.japisoft.fastparser
Class ParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.japisoft.fastparser.ParseException
All Implemented Interfaces:
java.io.Serializable

public class ParseException
extends java.lang.Exception

Created Sat Dec 14 17:22:21 2002

Parser error exception

Author:
Alexandre Brillant (abrillant@wanadoo.fr)
See Also:
Serialized Form

Constructor Summary
ParseException(java.lang.String cause)
           
 
Method Summary
 int getCaret()
           
 int getCol()
           
 int getLine()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException(java.lang.String cause)
Method Detail

getCaret

public int getCaret()
Returns:
the current error position starting from 0

getLine

public int getLine()
Returns:
the current error line

getCol

public int getCol()
Returns:
the current error colomn

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable