summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/parser.h b/parser.h
index 175c0228..689846da 100644
--- a/parser.h
+++ b/parser.h
@@ -21,13 +21,7 @@ class parser_t
const string * original_file = NULL) = 0;
};
-class parse_error : public error {
- public:
- parse_error(const string& _reason,
- error_context * _ctxt = NULL) throw()
- : error(_reason, _ctxt) {}
- virtual ~parse_error() throw() {}
-};
+DEFINE_EXCEPTION(parse_exception)
} // namespace ledger