summaryrefslogtreecommitdiff
path: root/src/gnucash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnucash.cc')
-rw-r--r--src/gnucash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnucash.cc b/src/gnucash.cc
index abe8c555..3859ebb4 100644
--- a/src/gnucash.cc
+++ b/src/gnucash.cc
@@ -341,7 +341,7 @@ unsigned int gnucash_parser_t::parse(std::istream& in,
//unsigned long line = XML_GetCurrentLineNumber(parser) - offset++;
const char * msg = XML_ErrorString(XML_GetErrorCode(parser));
XML_ParserFree(parser);
- throw_(parse_exception, msg);
+ throw_(parse_error, msg);
}
if (! have_error.empty()) {