public class ParseFormatException extends ParseException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The version identifier for this Serializable class.
|
currentToken, EOL, expectedTokenSequences, tokenImage
Constructor and Description |
---|
ParseFormatException() |
ParseFormatException(java.lang.String message)
Constructor with message.
|
ParseFormatException(java.lang.String message,
Token relatedToken) |
ParseFormatException(java.lang.String message,
Token relatedToken,
java.lang.Throwable cause)
This constructor is used by the method "generateParseException"
in the generated parser.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getInfoFromToken(Token t)
Uses "currentToken" to generate additional information to help
the user locate the source of the error.
|
private static final long serialVersionUID
public ParseFormatException()
public ParseFormatException(java.lang.String message)
public ParseFormatException(java.lang.String message, Token relatedToken)
public ParseFormatException(java.lang.String message, Token relatedToken, java.lang.Throwable cause)
public static java.lang.String getInfoFromToken(Token t)