public class WebErrorHandler extends ConsoleErrorHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
DEV_MODEL_ERROR |
protected static String |
DEV_MODEL_STYLE |
protected static String |
VERSION |
| 构造器和说明 |
|---|
WebErrorHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
processException(BeetlException e,
GroupTemplate groupTemplate,
Writer writer)
处理错误,错误输出到os流
|
protected void |
render(Writer w,
String title,
String msg) |
getDateTime, getRange, getResourceName, print, printCause, println, printThrowablepublic void processException(BeetlException e, GroupTemplate groupTemplate, Writer writer)
ErrorHandlerprocessException 在接口中 ErrorHandlerprocessException 在类中 ConsoleErrorHandlere - 异常信息writer - 异常信息通过 输出Copyright © 2022. All rights reserved.