added more or less meaningful descriptions when throwing SystemExceptions
[senf.git] / senf / Socket / Protocols / INet / UDPSocketProtocol.cc
index d5f4623..eb4458b 100644 (file)
@@ -45,7 +45,7 @@ prefix_ unsigned senf::UDPSocketProtocol::available()
 {
     int n;
     if (::ioctl(fd(),SIOCINQ,&n) < 0)
-        SENF_THROW_SYSTEM_EXCEPTION("");
+        SENF_THROW_SYSTEM_EXCEPTION("could not call ::ioctl(SIOCINQ) in UDPSocketProtocol::available()");
     return n;
 }