X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FDVBAdapter%2FULEdec.hh;h=60f757bb1cd703f1453533424198e9649114357a;hb=0fb5ed1adf2f67dbf47fdfed3f3c8be989cf3618;hp=64c9867aa3b79ab9b710f8923f88caaf61b00115;hpb=e67faa588ac375105c0a6d12c79ef93d5499bcab;p=senf.git diff --git a/Examples/DVBAdapter/ULEdec.hh b/Examples/DVBAdapter/ULEdec.hh index 64c9867..60f757b 100644 --- a/Examples/DVBAdapter/ULEdec.hh +++ b/Examples/DVBAdapter/ULEdec.hh @@ -1,9 +1,9 @@ // $Id: ULEdec.cc 355 2007-07-26 14:17:02Z tho $ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Thorsten Horstmann +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Thorsten Horstmann // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -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) {} };