summaryrefslogtreecommitdiff
path: root/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'value.h')
-rw-r--r--value.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/value.h b/value.h
index 2382d98f..2b0adf2b 100644
--- a/value.h
+++ b/value.h
@@ -560,6 +560,7 @@ template <> value_t::operator string() const;
std::ostream& operator<<(std::ostream& out, const value_t& val);
+#if 0
class value_context : public error_context
{
value_t * bal;
@@ -570,14 +571,9 @@ class value_context : public error_context
virtual void describe(std::ostream& out) const throw();
};
+#endif
-class value_error : public error {
- public:
- value_error(const string& _reason,
- error_context * _ctxt = NULL) throw()
- : error(_reason, _ctxt) {}
- virtual ~value_error() throw() {}
-};
+DECLARE_EXCEPTION(value_exception);
} // namespace ledger