📄 parserexception.java
字号:
/**
*
* @author Michael Wels
* @since 12.06.2002
* @version 1.01
*/
public class ParserException extends java.lang.Exception {
// Membervariablen
private Token token;
/**
* Creates new <code>ParserException</code> without detail message.
*/
public ParserException() {
}
/**
* Constructs an <code>ParserException</code> with the specified detail message.
*
* @param msg the detail message.
*/
public ParserException(String msg) {
super(msg);
}
/**
* Constructs an <code>ParserException</code> with the specified detail message.
*
* @param msg the detail message.
*/
public ParserException(String msg, Token lastToken) {
super(msg);
token = lastToken;
}
/**
* Accessormethode für das Token, bei dem der Fehler auftrat.
*
* @return Token
*/
public Token getToken() {
return token;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -