|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.el.parser.ParseException
public class ParseException
This exception is thrown when parse errors are encountered. You can explicitly create objects of this exception type by calling the method generateParseException in the generated parser. You can modify this class to customize your error reporting mechanisms so long as you retain the public fields.
| 字段摘要 | |
|---|---|
Token |
currentToken
This is the last token that has been consumed successfully. |
protected String |
eol
The end of line string for this machine. |
int[][] |
expectedTokenSequences
Each entry in this array is an array of integers. |
protected boolean |
specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below). |
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(String message)
|
|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser. |
|
| 方法摘要 | |
|---|---|
protected String |
add_escapes(String str)
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal. |
String |
getMessage()
This method has the standard behavior when this object has been created using the standard constructors. |
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected boolean specialConstructor
public Token currentToken
public int[][] expectedTokenSequences
public String[] tokenImage
protected String eol
| 构造方法详细信息 |
|---|
public ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
public ParseException()
public ParseException(String message)
| 方法详细信息 |
|---|
public String getMessage()
Throwable 中的 getMessageprotected String add_escapes(String str)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||