Class QueryNodeParseException

    • Constructor Detail

      • QueryNodeParseException

        public QueryNodeParseException​(Message message)
      • QueryNodeParseException

        public QueryNodeParseException​(Throwable throwable)
      • QueryNodeParseException

        public QueryNodeParseException​(Message message,
                                       Throwable throwable)
    • Method Detail

      • setErrorToken

        protected void setErrorToken​(String errorToken)
        Parameters:
        errorToken - the errorToken in the query
      • getErrorToken

        public String getErrorToken()
      • setNonLocalizedMessage

        public void setNonLocalizedMessage​(Message message)
      • getBeginLine

        public 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
        Returns:
        line where the problem was found
      • getBeginColumn

        public 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
        Returns:
        column of the first char where the problem was found
      • setBeginLine

        protected void setBeginLine​(int beginLine)
        Parameters:
        beginLine - the beginLine to set
      • setBeginColumn

        protected void setBeginColumn​(int beginColumn)
        Parameters:
        beginColumn - the beginColumn to set