X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FIOEvent.hh;h=d2f952819a3fb89806b3ddecef3663066e5b47c7;hb=d8c2d9d478b8808e5b76e4688aea4f840b6a1df7;hp=5a3e18881c0abbb8b5913660c5dafbc4642045f7;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/PPI/IOEvent.hh b/PPI/IOEvent.hh index 5a3e188..d2f9528 100644 --- a/PPI/IOEvent.hh +++ b/PPI/IOEvent.hh @@ -29,6 +29,7 @@ // Custom includes #include "../Scheduler/Scheduler.hh" #include "Events.hh" +#include "../Utils/Exception.hh" //#include "IOEvent.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -94,14 +95,12 @@ namespace ppi { /////////////////////////////////////////////////////////////////////////// /** \brief Unhandled error condition */ - struct ErrorException : public std::exception - { virtual char const * what() const throw() - { return "senf::ppi::IOEvent::ErrorException"; } }; + struct ErrorException : public senf::Exception + { ErrorException() : senf::Exception("senf::ppi::IOEvent::ErrorException"){} }; /** \brief Unhandled hangup condition */ - struct HangupException : public std::exception - { virtual char const * what() const throw() - { return "senf::ppi::IOEvent::HangupException"; } }; + struct HangupException : public senf::Exception + { HangupException() : senf::Exception("senf::ppi::IOEvent::HangupException"){} }; protected: