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()
TemplateExceptionInfo
getFileInfo
in interface TemplateExceptionInfo
public String getReason()
TemplateExceptionInfo
getReason
in interface TemplateExceptionInfo
public Point getStart()
TemplateExceptionInfo
getStart
in interface TemplateExceptionInfo
public Point getEnd()
TemplateExceptionInfo
getEnd
in interface TemplateExceptionInfo
public String getText()
TemplateExceptionInfo
getText
in interface TemplateExceptionInfo
public boolean isMacroException()
TemplateExceptionInfo
isMacroException
in interface TemplateExceptionInfo
public Macro getMacroInfo()
TemplateExceptionInfo
getMacroInfo
in interface TemplateExceptionInfo
Copyright © 2006–2018 TinyGroup. All rights reserved.