X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketInterpreter.hh;h=80bb01662efae00bbd5de6587f708ef3690548ed;hb=1d247d12d1759ffd77f456efe3a52f03dd289994;hp=68af3da9d3fa3640b305f4a26ebc7dfb8ffdf97c;hpb=445c71d8d242f4ce3d23d8db8d1faf909943cfec;p=senf.git diff --git a/Packets/PacketInterpreter.hh b/Packets/PacketInterpreter.hh index 68af3da..80bb016 100644 --- a/Packets/PacketInterpreter.hh +++ b/Packets/PacketInterpreter.hh @@ -379,8 +379,8 @@ namespace senf { This exception signals an invalid operation on the chain like trying to find a non-existent chain member and other similar error conditions. */ - struct InvalidPacketChainException : public std::exception - { virtual char const * what() const throw() { return "invalid packet chain"; } }; + struct InvalidPacketChainException : public senf::Exception + { InvalidPacketChainException() : senf::Exception("invalid packet chain"){} }; }