summaryrefslogtreecommitdiff
path: root/src/qif.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-30 11:22:08 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:34 -0400
commit21af83013f3b1bae511a61b9e27224ab3de235c1 (patch)
treebf0eea45f33e7e269220adc6ce37815f7bc14a3f /src/qif.cc
parent3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba (diff)
downloadfork-ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.tar.gz
fork-ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.tar.bz2
fork-ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.zip
Did more work on the utility code.
Diffstat (limited to 'src/qif.cc')
-rw-r--r--src/qif.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qif.cc b/src/qif.cc
index 6db957dd..ef1089a7 100644
--- a/src/qif.cc
+++ b/src/qif.cc
@@ -73,7 +73,7 @@ unsigned int qif_parser_t::parse(std::istream& in,
case '\t':
if (peek_next_nonws(in) != '\n') {
get_line(in);
- throw_(parse_exception, "Line begins with whitespace");
+ throw_(parse_error, "Line begins with whitespace");
}
// fall through...
@@ -90,7 +90,7 @@ unsigned int qif_parser_t::parse(std::istream& in,
std::strcmp(line, "Type:Cat") == 0 ||
std::strcmp(line, "Type:Class") == 0 ||
std::strcmp(line, "Type:Memorized") == 0)
- throw_(parse_exception,
+ throw_(parse_error,
"QIF files of type " << line << " are not supported.");
break;