ch.akuhn.fame.parser
Class ParseError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ch.akuhn.fame.parser.ParseError
All Implemented Interfaces:
Serializable

public class ParseError
extends RuntimeException

See Also:
Serialized Form

Field Summary
 TokenType expected
           
 Token found
           
 Position pos
           
 
Constructor Summary
ParseError(String message, Position pos)
           
ParseError(TokenType expected, Token found, Position pos)
           
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pos

public final Position pos

expected

public TokenType expected

found

public Token found
Constructor Detail

ParseError

public ParseError(String message,
                  Position pos)

ParseError

public ParseError(TokenType expected,
                  Token found,
                  Position pos)