X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketRegistry.hh;h=8f342ebb9004d150f8379d59d2cea0db881b4427;hb=1d247d12d1759ffd77f456efe3a52f03dd289994;hp=bb0d4c261f4ee0f1c83d8edaf2d4378d3766ebdc;hpb=445c71d8d242f4ce3d23d8db8d1faf909943cfec;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"){} }; }