📄 error.java
字号:
package org.appfuse.webapp.action;
import org.apache.tapestry.pages.Exception;
/**
* A customized exception page; in non-debug mode, it omits displays the main exception display.
*/
public abstract class Error extends Exception {
public abstract String getError();
public abstract void setError(String value);
public void setException(Throwable value) {
super.setException(value);
String message = value.getMessage();
if (message == null)
message = value.getClass().getName();
setError(message);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -