diff options
| author | John Wiegley <johnw@newartisans.com> | 2007-04-27 10:08:42 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:31 -0400 |
| commit | 0eb597a681115d6d5dd2ea4511fa3b8c7b3d9c9f (patch) | |
| tree | 750d64f6817282a6f4744058f73164a2996f6b03 /value.h | |
| parent | d01629148383261d7944e91fd2ac67b334a6834d (diff) | |
| download | ledger-0eb597a681115d6d5dd2ea4511fa3b8c7b3d9c9f.tar.gz ledger-0eb597a681115d6d5dd2ea4511fa3b8c7b3d9c9f.tar.bz2 ledger-0eb597a681115d6d5dd2ea4511fa3b8c7b3d9c9f.zip | |
Restructured the code to use the new utility code in utils.h.
Diffstat (limited to 'value.h')
| -rw-r--r-- | value.h | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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 |
