X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FDVBAdapter%2FULEdec.hh;h=60f757bb1cd703f1453533424198e9649114357a;hb=0fb5ed1adf2f67dbf47fdfed3f3c8be989cf3618;hp=f73d424bc88ff5ed5421b8f894d6566a3ac922c8;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/Examples/DVBAdapter/ULEdec.hh b/Examples/DVBAdapter/ULEdec.hh index f73d424..60f757b 100644 --- a/Examples/DVBAdapter/ULEdec.hh +++ b/Examples/DVBAdapter/ULEdec.hh @@ -65,13 +65,10 @@ private: }; -struct ULEdecException : public std::exception +struct ULEdecException : public senf::Exception { - ULEdecException(char const * what) : what_(what) {}; - ULEdecException(std::string const what) : what_(what) {}; - virtual char const * what() const throw() { return what_.c_str(); } - virtual ~ULEdecException() throw() {}; - std::string what_; + ULEdecException(std::string const & what) + : senf::Exception(what) {} };