Parser/QueryParser.cpp
void SPARQLErrorListener::syntaxError(antlr4::Recognizer *recognizer, antlr4::Token * offendingSymbol, \
	size_t line, size_t charPositionInLine, const std::string &msg, std::exception_ptr e)
{
	throw runtime_error("line " + to_string(line) + ":" + to_string(charPositionInLine) + " " + msg);
}
/**
	Throw a runtime error when lexical and syntactic errors are detected in the query.
*/
Throw a runtime error when lexical and syntactic errors are detected in the query.
Throw a runtime error when lexical and syntactic errors are detected in the query .
void SPARQLErrorListener::syntaxError(antlr4::Recognizer *recognizer, antlr4::Token * offendingSymbol, \
	size_t line, size_t charPositionInLine, const std::string &msg, std::exception_ptr e)
{
	throw runtime_error("line " + to_string(line) + ":" + to_string(charPositionInLine) + " " + msg);
}
void SPARQLErrorListener :: syntaxError ( antlr4 :: Recognizer * recognizer , antlr4 :: Token * offendingSymbol , size_t line , size_t charPositionInLine , const std :: string & msg , std :: exception_ptr e ) { throw runtime_error ( " " + to_string ( line ) + " " + to_string ( charPositionInLine ) + " " + msg ) ; }
Throw a runtime error when lexical and syntactic errors are detected in the query.
Throw a runtime error when lexical and syntactic errors are detected in the query .