public class QueryNodeParseException extends QueryNodeException
QueryNodeException
,
SyntaxParser
,
QueryNode
,
Serialized FormModifier and Type | Field and Description |
---|---|
private int |
beginColumn |
private int |
beginLine |
private java.lang.String |
errorToken |
private java.lang.CharSequence |
query |
message
Constructor and Description |
---|
QueryNodeParseException(Message message) |
QueryNodeParseException(Message message,
java.lang.Throwable throwable) |
QueryNodeParseException(java.lang.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
|
java.lang.String |
getErrorToken() |
java.lang.CharSequence |
getQuery() |
protected void |
setBeginColumn(int beginColumn) |
protected void |
setBeginLine(int beginLine) |
protected void |
setErrorToken(java.lang.String errorToken) |
void |
setNonLocalizedMessage(Message message) |
void |
setQuery(java.lang.CharSequence query) |
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageObject, toString
private java.lang.CharSequence query
private int beginColumn
private int beginLine
private java.lang.String errorToken
public QueryNodeParseException(Message message)
public QueryNodeParseException(java.lang.Throwable throwable)
public QueryNodeParseException(Message message, java.lang.Throwable throwable)
public void setQuery(java.lang.CharSequence query)
public java.lang.CharSequence getQuery()
protected void setErrorToken(java.lang.String errorToken)
errorToken
- the errorToken in the querypublic java.lang.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