public class ParseError extends Exception
Modifier and Type | Field and Description |
---|---|
private Tokenizer.Token |
unexpectedToken |
Constructor and Description |
---|
ParseError(int position,
SearchCompiler.ParseError e) |
ParseError(String message) |
ParseError(Tokenizer.Token unexpectedToken) |
ParseError(Tokenizer.Token unexpectedToken,
Tokenizer.TokenType expected) |
Modifier and Type | Method and Description |
---|---|
Tokenizer.Token |
getUnexpectedToken() |
static ParseError |
unexpectedChar(char expected,
char found,
int position) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private final transient Tokenizer.Token unexpectedToken
public ParseError(Tokenizer.Token unexpectedToken)
public ParseError(Tokenizer.Token unexpectedToken, Tokenizer.TokenType expected)
public ParseError(int position, SearchCompiler.ParseError e)
public ParseError(String message)
public Tokenizer.Token getUnexpectedToken()
public static ParseError unexpectedChar(char expected, char found, int position)