public class SbvrErrorInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SbvrErrorInfo.Category |
Constructor and Description |
---|
SbvrErrorInfo() |
Modifier and Type | Method and Description |
---|---|
SbvrErrorInfo.Category |
getErrorCategory() |
String |
getErrorMessage() |
int |
getOffendingTextStartIndex() |
int |
getOffendingTextStopIndex() |
String |
getRuleInvocationStack() |
boolean |
hasOffendingTextInfo() |
boolean |
hasRuleInvocationStack() |
void |
setErrorCategory(SbvrErrorInfo.Category errorCategory) |
void |
setErrorMessage(String errorMessage) |
void |
setMetadataFromContext(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
setMetadataFromToken(org.antlr.v4.runtime.Token token) |
void |
setOffendingTextStartIndex(int offendingTokenStartIndex) |
void |
setOffendingTextStopIndex(int offendingTokenStopIndex) |
void |
setRuleInvocationStack(String ruleInvocationStack) |
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the errorMessage to setpublic int getOffendingTextStartIndex()
public void setOffendingTextStartIndex(int offendingTokenStartIndex)
offendingTextStartIndex
- the offendingTextStartIndex to setpublic int getOffendingTextStopIndex()
public void setOffendingTextStopIndex(int offendingTokenStopIndex)
offendingTextStopIndex
- the offendingTextStopIndex to setpublic String getRuleInvocationStack()
null
public void setRuleInvocationStack(String ruleInvocationStack)
ruleInvocationStack
- the ruleInvocationStack to setpublic boolean hasRuleInvocationStack()
public SbvrErrorInfo.Category getErrorCategory()
public void setErrorCategory(SbvrErrorInfo.Category errorCategory)
errorCategory
- the errorCategory to setpublic void setMetadataFromToken(org.antlr.v4.runtime.Token token)
public boolean hasOffendingTextInfo()
public void setMetadataFromContext(org.antlr.v4.runtime.ParserRuleContext ctx)
Copyright © 2018. All rights reserved.