X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketRegistry.hh;h=8f342ebb9004d150f8379d59d2cea0db881b4427;hb=ef4c5558d6a52367bd7040530d40c7616f6f5b71;hp=bb0d4c261f4ee0f1c83d8edaf2d4378d3766ebdc;hpb=f90ccec9262e178534bb86c0061ecf83e3df91b3;p=senf.git diff --git a/Packets/PacketRegistry.hh b/Packets/PacketRegistry.hh index bb0d4c2..8f342eb 100644 --- a/Packets/PacketRegistry.hh +++ b/Packets/PacketRegistry.hh @@ -214,8 +214,8 @@ packet of which the key is requested This exception is signaled whenever a throwing lookup operation fails. */ - struct PacketTypeNotRegisteredException : public std::exception - { virtual char const * what() const throw() { return "packet type not registered"; } }; + struct PacketTypeNotRegisteredException : public senf::Exception + { PacketTypeNotRegisteredException() : senf::Exception("packet type not registered"){} }; }