public class ParseException
extends java.lang.Exception
Description:
Title:首亨软件 - TSS/CRM等
限定符和类型 | 字段和说明 |
---|---|
Token |
currentToken
This is the last token that has been consumed successfully.
|
int[][] |
expectedTokenSequences
Each entry in this array is an array of integers.
|
java.lang.String[] |
tokenImage
This is a reference to the "tokenImage" array of the generated parser
within which the parse error occurred.
|
构造器和说明 |
---|
ParseException()
The following constructors are for use by you for whatever purpose you
can think of.
|
ParseException(java.lang.String message) |
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal) |
ParseException(Token currentTokenVal,
java.lang.String message) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getErrorInfo() |
java.lang.String |
getMessage()
This method has the standard behavior when this object has been created
using the standard constructors.
|
public Token currentToken
public int[][] expectedTokenSequences
public java.lang.String[] tokenImage
public ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
public ParseException()
public ParseException(java.lang.String message)
public ParseException(Token currentTokenVal, java.lang.String message)
public java.lang.String getMessage()
getMessage
在类中 java.lang.Throwable
public java.lang.String getErrorInfo()