public class DefaultErrorHandler extends AbstractErrorHandler
CURRENT_LEVEL, MARK_STRING
DEFAULT_LAYER_INDEX
构造器和说明 |
---|
DefaultErrorHandler()
默认的构造函数
|
限定符和类型 | 方法和说明 |
---|---|
void |
error(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
FRException frException)
输出报表服务器在运行时出现的错误信息
|
void |
error(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String message)
输出报表服务器在运行时出现的错误信息
|
void |
error(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String message,
java.lang.Throwable throwable)
输出报表服务器在运行时出现的错误信息
|
void |
error(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.Throwable throwable)
输出报表服务器在运行时出现的错误信息
|
currentAPILevel, layerIndex
public void error(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.Throwable throwable)
req
- HTTP请求res
- HTTP响应throwable
- 异常public void error(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String message)
req
- HTTP请求res
- HTTP响应message
- 表示异常信息的字符串public void error(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String message, java.lang.Throwable throwable)
req
- HTTP请求res
- HTTP响应message
- 表示异常信息的字符串throwable
- 异常public void error(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, FRException frException)
ErrorHandler
error
在接口中 ErrorHandler
error
在类中 AbstractErrorHandler
req
- HTTP请求res
- HTTP响应frException
- 包装过的异常信息