public class RecognizerExceptionInfo extends Object implements TemplateExceptionInfo
| Constructor and Description |
|---|
RecognizerExceptionInfo(String reason,
String fileInfo,
int line,
int charPositionInLine) |
| Modifier and Type | Method and Description |
|---|---|
Point |
getEnd()
报错结束位置
|
String |
getFileInfo()
报错文件信息
|
Macro |
getMacroInfo()
获得宏信息
|
String |
getReason()
报错原因
|
Point |
getStart()
报错开始位置
|
String |
getText()
报错文本
|
boolean |
isMacroException()
是否宏异常
|
public String getFileInfo()
TemplateExceptionInfogetFileInfo in interface TemplateExceptionInfopublic String getReason()
TemplateExceptionInfogetReason in interface TemplateExceptionInfopublic Point getStart()
TemplateExceptionInfogetStart in interface TemplateExceptionInfopublic Point getEnd()
TemplateExceptionInfogetEnd in interface TemplateExceptionInfopublic String getText()
TemplateExceptionInfogetText in interface TemplateExceptionInfopublic boolean isMacroException()
TemplateExceptionInfoisMacroException in interface TemplateExceptionInfopublic Macro getMacroInfo()
TemplateExceptionInfogetMacroInfo in interface TemplateExceptionInfoCopyright © 2006–2018 TinyGroup. All rights reserved.