From bf59bc2edbb1f3f4d12bfbd8ed2663fbbb1900c0 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 5 Dec 2014 14:14:32 +0100 Subject: removed fatal flag from LoggableException, added constructor capable of using a PosType --- src/plugins/xml/XmlParser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/xml/XmlParser.cpp') diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp index afc7f14..ce2857e 100644 --- a/src/plugins/xml/XmlParser.cpp +++ b/src/plugins/xml/XmlParser.cpp @@ -208,8 +208,7 @@ Rooted XmlParser::parse(std::istream &is, ParserContext &ctx) const int column = XML_GetCurrentColumnNumber(&p); const XML_Error code = XML_GetErrorCode(&p); const std::string msg = std::string{XML_ErrorString(code)}; - throw ParserException{"XML Syntax Error: " + msg, line, column, - false}; + throw ParserException{"XML Syntax Error: " + msg, line, column}; } // Abort once there are no more bytes in the stream -- cgit v1.2.3