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