public class ParseException extends RLException
Modifier and Type | Field and Description |
---|---|
java.lang.String |
encountered
This is the value of the unexpected token.
|
java.lang.String |
expected
The values of tokens expected at this point of the parse.
|
boolean |
expectOne
Whether just one token stream is expected
|
Constructor and Description |
---|
ParseException()
This constructor indicates an internal parser error.
|
ParseException(java.lang.String message,
int line,
int column)
The following constructors are for use by you for whatever
purpose you can think of.
|
ParseException(java.lang.String message,
int line,
int column,
java.lang.Throwable cause) |
ParseException(java.lang.String message,
java.lang.String msgID,
java.lang.Object[] args,
int line,
int column) |
ParseException(java.lang.String message,
java.lang.String msgID,
java.lang.Object[] args,
int line,
int column,
java.lang.Throwable cause) |
ParseException(oracle.rules.rl.parse.Token currentToken,
int[][] expectedTokenSequences,
java.lang.String[] tokenImage)
This constructor is used by the method "generateParseException"
in the generated parser.
|
getArgs, getColumn, getDescription, getLine, getMessage, getMsgID, getSource, printRLStackTrace, printRLStackTrace, printRLStackTrace, setColumn, setLine, setSource
public java.lang.String encountered
public java.lang.String expected
public boolean expectOne
public ParseException()
public ParseException(oracle.rules.rl.parse.Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage)
public ParseException(java.lang.String message, int line, int column)
public ParseException(java.lang.String message, int line, int column, java.lang.Throwable cause)
public ParseException(java.lang.String message, java.lang.String msgID, java.lang.Object[] args, int line, int column)
public ParseException(java.lang.String message, java.lang.String msgID, java.lang.Object[] args, int line, int column, java.lang.Throwable cause)