From 99313ebc6c3779f692f9f1bd70cc69a236f5eb78 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 31 Jul 2008 06:24:45 -0400 Subject: Revised the way that exceptions are thrown around. Instead of context being a complicated string of pointers, it's now just a global block of text that gets appended to as the error is being thrown up, and can be displayed at the catch point if desired. There are almost no cases where a thrown exception will not result in an error message being displayed to the user. --- walk.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'walk.h') diff --git a/walk.h b/walk.h index cb13a826..c92366e0 100644 --- a/walk.h +++ b/walk.h @@ -693,14 +693,6 @@ public: virtual void operator()(xact_t& xact); }; -class interval_expr_error : public error { - public: - interval_expr_error(const string& reason, - error_context * ctxt = NULL) throw() - : error(reason, ctxt) {} - virtual ~interval_expr_error() throw() {} -}; - class interval_xacts : public subtotal_xacts { interval_t interval; -- cgit v1.2.3