程序包 org.beetl.core
类 ConsoleErrorHandler
java.lang.Object
org.beetl.core.ConsoleErrorHandler
- 所有已实现的接口:
ErrorHandler
- 直接已知子类:
ReThrowConsoleErrorHandler
向控制台输出错误,并不抛出异常
- 作者:
- xiandafu
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected Stringprotected int[]getRange(int line) protected ObjectgetResourceName(Object resourceId) protected voidprotected voidprintCause(ErrorInfo error, Writer writer) protected voidprotected voidprintThrowable(Writer w, Throwable t) voidprocessException(BeetlException ex, GroupTemplate groupTemplate, Writer writer) 处理错误,错误输出到os流
-
构造器详细资料
-
ConsoleErrorHandler
public ConsoleErrorHandler()
-
-
方法详细资料
-
processException
从接口复制的说明:ErrorHandler处理错误,错误输出到os流- 指定者:
processException在接口中ErrorHandler- 参数:
ex- 异常信息writer- 异常信息通过writer输出
-
printCause
-
getResourceName
-
println
-
print
-
printThrowable
-
getRange
protected int[] getRange(int line) -
getDateTime
-