public abstract class SimpleExceptionInfoFormater extends Object implements TemplateExceptionInfoFormater
Constructor and Description |
---|
SimpleExceptionInfoFormater() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
buildFileInfo(TemplateExceptionInfo info,
StringBuilder sb)
实现报错文件路径输出
|
protected abstract void |
buildPlace(TemplateExceptionInfo info,
StringBuilder sb)
实现报错位置输出
|
protected abstract void |
buildReason(TemplateExceptionInfo info,
StringBuilder sb)
实现报错原因输出
|
protected abstract void |
buildText(TemplateExceptionInfo info,
StringBuilder sb)
实现报错内容输出
|
String |
getMessage(TemplateExceptionInfo info) |
public String getMessage(TemplateExceptionInfo info)
getMessage
in interface TemplateExceptionInfoFormater
protected abstract void buildFileInfo(TemplateExceptionInfo info, StringBuilder sb)
info
- sb
- protected abstract void buildReason(TemplateExceptionInfo info, StringBuilder sb)
info
- sb
- protected abstract void buildPlace(TemplateExceptionInfo info, StringBuilder sb)
info
- sb
- protected abstract void buildText(TemplateExceptionInfo info, StringBuilder sb)
info
- sb
- Copyright © 2006–2018 TinyGroup. All rights reserved.