summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'format.h')
-rw-r--r--format.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/format.h b/format.h
index e2c6a3db..1ddd8202 100644
--- a/format.h
+++ b/format.h
@@ -101,12 +101,7 @@ class format_t
}
};
-class format_error : public error {
- public:
- format_error(const string& reason, error_context * ctxt = NULL) throw()
- : error(reason, ctxt) {}
- virtual ~format_error() throw() {}
-};
+DECLARE_EXCEPTION(format_exception);
} // namespace ledger