summaryrefslogtreecommitdiff
path: root/src/plugins/xml/XmlParser.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-12-05 14:14:32 +0100
committerAndreas Stöckel <andreas@somweyr.de>2014-12-05 14:14:32 +0100
commitbf59bc2edbb1f3f4d12bfbd8ed2663fbbb1900c0 (patch)
tree30d1fcfaf43045904883f1f068be6347487eedb4 /src/plugins/xml/XmlParser.cpp
parentddbea4164e126739f39658627c04e7e23b71e090 (diff)
removed fatal flag from LoggableException, added constructor capable of using a PosType
Diffstat (limited to 'src/plugins/xml/XmlParser.cpp')
-rw-r--r--src/plugins/xml/XmlParser.cpp3
1 files changed, 1 insertions, 2 deletions
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<Node> 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