ubc.cs.JLog.Parser
Class SyntaxErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ubc.cs.JLog.Parser.SyntaxErrorException
All Implemented Interfaces:
java.io.Serializable

public class SyntaxErrorException
extends java.lang.RuntimeException

See Also:
Serialized Form

Field Summary
protected  int charpos
           
protected  int lineno
           
protected  int position
           
 
Constructor Summary
SyntaxErrorException(java.lang.String s, int pos)
           
SyntaxErrorException(java.lang.String s, int line, int cpos)
           
SyntaxErrorException(java.lang.String s, int pos, int line, int cpos)
           
 
Method Summary
 int getCharPos()
           
 int getLine()
           
 int getPosition()
           
 
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

position

protected int position

lineno

protected int lineno

charpos

protected int charpos
Constructor Detail

SyntaxErrorException

public SyntaxErrorException(java.lang.String s,
                            int pos)

SyntaxErrorException

public SyntaxErrorException(java.lang.String s,
                            int line,
                            int cpos)

SyntaxErrorException

public SyntaxErrorException(java.lang.String s,
                            int pos,
                            int line,
                            int cpos)
Method Detail

getPosition

public int getPosition()

getLine

public int getLine()

getCharPos

public int getCharPos()