dm.dmql
Class TokenStreamException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--dm.dmql.TokenStreamException
All Implemented Interfaces:
java.io.Serializable

public class TokenStreamException
extends java.lang.Exception

An exception thrown by TokenStream

Author:
Scott Sanner
See Also:
Serialized Form

Field Summary
 int _nLine
           
 int _nLinePos
           
 int _nPos
          Local data members
 
Constructor Summary
TokenStreamException(java.lang.String error)
          Constructor
TokenStreamException(java.lang.String error, int pos, int line, int line_pos)
          Constructor
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_nPos

public int _nPos
Local data members

_nLine

public int _nLine

_nLinePos

public int _nLinePos
Constructor Detail

TokenStreamException

public TokenStreamException(java.lang.String error)
Constructor
Parameters:
error - String specifying the error that occurred

TokenStreamException

public TokenStreamException(java.lang.String error,
                            int pos,
                            int line,
                            int line_pos)
Constructor
Parameters:
error - String specifying the error that occurred
pos - Char position where error occurred
line - Line number where error occurred
line_pos - Char position on line where error occurred