X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketData.hh;h=cbcad4924cf69b11b0210266a5b5032b1e934d5b;hb=90692e78469c816d222d235bbcc041750dcbdccb;hp=dfdd4555fc674a041b7957dea70bdce738b21e9b;hpb=ddb2132be4265f8a0d7d4c954c7c9401e59d027c;p=senf.git diff --git a/senf/Packets/PacketData.hh b/senf/Packets/PacketData.hh index dfdd455..cbcad49 100644 --- a/senf/Packets/PacketData.hh +++ b/senf/Packets/PacketData.hh @@ -166,7 +166,10 @@ namespace senf { byte. If the packet has been implemented correctly, this signals a malformed packet. */ struct TruncatedPacketException : public senf::Exception - { TruncatedPacketException() : senf::Exception("truncated packet") {} }; + { + TruncatedPacketException(std::string const & description = "") + : senf::Exception("truncated packet") { append( description); } + }; }