Utils: Removed ErrnoException and implemented generic Exception base-class
[senf.git] / Examples / DVBAdapter / ULEdec.hh
index 64c9867..60f757b 100644 (file)
@@ -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 <thorsten.horstmann@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+//     Thorsten Horstmann <tho@berlios.de>
 //
 // 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) {}
 };