summaryrefslogtreecommitdiff
path: root/src/xml.h
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/xml.h
parent3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba (diff)
downloadledger-21af83013f3b1bae511a61b9e27224ab3de235c1.tar.gz
ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.tar.bz2
ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.zip
Did more work on the utility code.
Diffstat (limited to 'src/xml.h')
-rw-r--r--src/xml.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xml.h b/src/xml.h
index 6a600786..cf80455d 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -15,7 +15,7 @@ namespace xml {
#define XML_NODE_IS_PARENT 0x1
-DECLARE_EXCEPTION(conversion_exception);
+DECLARE_EXCEPTION(conversion_error);
class parent_node_t;
class document_t;
@@ -85,7 +85,7 @@ public:
}
virtual value_t to_value() const {
- throw_(conversion_exception, "Cannot convert node to a value");
+ throw_(conversion_error, "Cannot convert node to a value");
}
virtual void write(std::ostream& out, int depth = 0) const = 0;
@@ -255,7 +255,7 @@ class xml_parser_t : public parser_t
const string * original_file = NULL);
};
-DECLARE_EXCEPTION(parse_exception);
+DECLARE_EXCEPTION(parse_error);
#endif