X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FException.cci;h=b745f8056ee7e6625eb5cda9faf2434322629092;hb=24ccc14a000ffeceb9e5b6d02f54d2e971a3aee8;hp=e7a9c53987163b9b8fa91800fbb57dddc78d5e11;hpb=034f9bec0a66d26314fb6ebc83dedf1618a2c19d;p=senf.git diff --git a/Utils/Exception.cci b/Utils/Exception.cci index e7a9c53..b745f80 100644 --- a/Utils/Exception.cci +++ b/Utils/Exception.cci @@ -29,11 +29,24 @@ /////////////////////////////////////////////////////////////////////////// // senf::Exception + prefix_ senf::Exception::Exception(std::string const & description) : message_(description) {} +prefix_ std::string const & senf::Exception::message() + const +{ + return message_; +} + +prefix_ void senf::Exception::append(std::string text) +{ + message_ += text; +} + /////////////////////////////////////////////////////////////////////////// +// senf::SystemException prefix_ senf::SystemException::SystemException(std::string const & descr _SENF_EXC_DEBUG_ARGS_ND) {