public class TemplateException extends Exception
Modifier and Type | Field and Description |
---|---|
protected String |
detailMessage |
protected List<TemplateExceptionInfo> |
exceptionInfos
异常信息列表
|
Constructor and Description |
---|
TemplateException() |
TemplateException(String msg) |
TemplateException(String msg,
org.antlr.v4.runtime.ParserRuleContext context,
String fileInfo) |
TemplateException(Throwable throwable) |
TemplateException(Throwable throwable,
org.antlr.v4.runtime.ParserRuleContext context,
String fileInfo) |
Modifier and Type | Method and Description |
---|---|
protected void |
copyExceptionInfos(Throwable throwable) |
TemplateExceptionInfo |
getExceptionInfo()
获取本异常包含的第一个异常信息块
|
List<TemplateExceptionInfo> |
getExceptionInfos()
获取本异常包含的全部异常信息块
|
String |
getMessage() |
TemplateExceptionInfoFormater |
getTemplateExceptionInfoFormater() |
void |
recombine()
重组异常信息块
|
void |
setTemplateExceptionInfoFormater(TemplateExceptionInfoFormater templateExceptionInfoFormater) |
void |
updateExceptionInfo(org.antlr.v4.runtime.ParserRuleContext context,
String fileInfo)
更新异常信息块
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected List<TemplateExceptionInfo> exceptionInfos
protected String detailMessage
public TemplateException()
public TemplateException(String msg)
public TemplateException(Throwable throwable)
public TemplateException(Throwable throwable, org.antlr.v4.runtime.ParserRuleContext context, String fileInfo)
public TemplateExceptionInfoFormater getTemplateExceptionInfoFormater()
public void setTemplateExceptionInfoFormater(TemplateExceptionInfoFormater templateExceptionInfoFormater)
protected void copyExceptionInfos(Throwable throwable)
public void updateExceptionInfo(org.antlr.v4.runtime.ParserRuleContext context, String fileInfo)
context
- fileInfo
- public List<TemplateExceptionInfo> getExceptionInfos()
public TemplateExceptionInfo getExceptionInfo()
public void recombine()
public String getMessage()
getMessage
in class Throwable
Copyright © 2006–2018 TinyGroup. All rights reserved.