public class QueryNodeParseException extends QueryNodeException
QueryNodeException
,
SyntaxParser
,
QueryNode
,
Serialized Formmessage
Constructor and Description |
---|
QueryNodeParseException(Message message) |
QueryNodeParseException(Message message,
Throwable throwable) |
QueryNodeParseException(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
int |
getBeginColumn()
For EndOfLine and EndOfFile ("<EOF>") parsing problems the last char in the
string is returned For the case where the parser is not able to figure out
the line and column number -1 will be returned
|
int |
getBeginLine()
For EndOfLine and EndOfFile ("<EOF>") parsing problems the last char in the
string is returned For the case where the parser is not able to figure out
the line and column number -1 will be returned
|
String |
getErrorToken() |
CharSequence |
getQuery() |
protected void |
setBeginColumn(int beginColumn) |
protected void |
setBeginLine(int beginLine) |
protected void |
setErrorToken(String errorToken) |
void |
setNonLocalizedMessage(Message message) |
void |
setQuery(CharSequence query) |
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageObject, toString
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public QueryNodeParseException(Message message)
public QueryNodeParseException(Throwable throwable)
public QueryNodeParseException(Message message, Throwable throwable)
public void setQuery(CharSequence query)
public CharSequence getQuery()
protected void setErrorToken(String errorToken)
errorToken
- the errorToken in the querypublic String getErrorToken()
public void setNonLocalizedMessage(Message message)
public int getBeginLine()
public int getBeginColumn()
protected void setBeginLine(int beginLine)
beginLine
- the beginLine to setprotected void setBeginColumn(int beginColumn)
beginColumn
- the beginColumn to set