Structured Text Toolkit

com.saelist.stx.parser
Class ParserException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.saelist.stx.parser.ParserException
All Implemented Interfaces:
java.io.Serializable

public class ParserException
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
static int EOF_EXPECTING_LBR
           
static int EXPECTED_TEXT
           
static int EXTRA_CHARS_AT_END
           
static java.lang.String[] messages
           
 
Constructor Summary
ParserException(int error)
           
ParserException(int error, Token token)
           
 
Method Summary
 int getError()
           
 Token getToken()
           
 
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

EXPECTED_TEXT

public static final int EXPECTED_TEXT
See Also:
Constant Field Values

EOF_EXPECTING_LBR

public static final int EOF_EXPECTING_LBR
See Also:
Constant Field Values

EXTRA_CHARS_AT_END

public static final int EXTRA_CHARS_AT_END
See Also:
Constant Field Values

messages

public static java.lang.String[] messages
Constructor Detail

ParserException

public ParserException(int error,
                       Token token)

ParserException

public ParserException(int error)
Method Detail

getToken

public Token getToken()

getError

public int getError()

Structured Text Toolkit