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 'lib') diff --git a/lib/exception.cc b/lib/exception.cc index 510982e..0b775f7 100644 --- a/lib/exception.cc +++ b/lib/exception.cc @@ -1,17 +1,33 @@ #include #include #include +#include namespace opkele { # ifndef OPKELE_HAVE_KONFORKA + exception::exception(const string& w) + : _what(w) + { + DOUT_("throwing exception(\""<