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. --- entry.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'entry.h') diff --git a/entry.h b/entry.h index 5764624c..16fc3bf3 100644 --- a/entry.h +++ b/entry.h @@ -124,18 +124,6 @@ struct entry_finalizer_t { virtual bool operator()(entry_t& entry, bool post) = 0; }; -class entry_context : public error_context { - public: - const entry_base_t& entry; - - entry_context(const entry_base_t& _entry, - const string& _desc = "") throw() - : error_context(_desc), entry(_entry) {} - virtual ~entry_context() throw() {} - - virtual void describe(std::ostream& out) const throw(); -}; - class auto_entry_t : public entry_base_t { public: -- cgit v1.2.3