Packets/80221Bundle: enhanced error message in MIH message validation (once again)
[senf.git] / senf / Packets / PacketData.hh
index dfdd455..cbcad49 100644 (file)
@@ -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); }
+    };
 
 }