From b52ad4dc051835fdf8417f748bf40ba4c17449d4 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 01 Jan 2008 14:09:08 +0000 Subject: output thrown exceptions to clog stream Signed-off-by: Michael Krelin --- (limited to 'include/opkele/exception.h') diff --git a/include/opkele/exception.h b/include/opkele/exception.h index 36bd07a..64f189e 100644 --- a/include/opkele/exception.h +++ b/include/opkele/exception.h @@ -77,13 +77,10 @@ namespace opkele { public: # ifdef OPKELE_HAVE_KONFORKA explicit - exception(const string& fi,const string& fu,int l,const string& w) - : konforka::exception(fi,fu,l,w) { } + exception(const string& fi,const string& fu,int l,const string& w); # else /* OPKELE_HAVE_KONFORKA */ string _what; - explicit - exception(const string& w) - : _what(w) { } + explicit exception(const string& w); virtual ~exception() throw(); virtual const char * what() const throw(); # endif /* OPKELE_HAVE_KONFORKA */ -- cgit v0.9.0.2