org.openstreetmap.josm.tools.template_engine
Class ParseError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openstreetmap.josm.tools.template_engine.ParseError
All Implemented Interfaces:
java.io.Serializable

public class ParseError
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
private  Tokenizer.Token unexpectedToken
           
 
Constructor Summary
ParseError(int position, SearchCompiler.ParseError e)
           
ParseError(java.lang.String message)
           
ParseError(Tokenizer.Token unexpectedToken)
           
ParseError(Tokenizer.Token unexpectedToken, Tokenizer.TokenType expected)
           
 
Method Summary
 Tokenizer.Token getUnexpectedToken()
           
static ParseError unexpectedChar(char expected, char found, int position)
           
 
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

unexpectedToken

private final Tokenizer.Token unexpectedToken
Constructor Detail

ParseError

public ParseError(Tokenizer.Token unexpectedToken)

ParseError

public ParseError(Tokenizer.Token unexpectedToken,
                  Tokenizer.TokenType expected)

ParseError

public ParseError(int position,
                  SearchCompiler.ParseError e)

ParseError

public ParseError(java.lang.String message)
Method Detail

getUnexpectedToken

public Tokenizer.Token getUnexpectedToken()

unexpectedChar

public static ParseError unexpectedChar(char expected,
                                        char found,
                                        int position)


JOSM