Utils: Removed ErrnoException and implemented generic Exception base-class
[senf.git] / Socket / Protocols / INet / RawINetProtocol.cc
index 981fe4f..58debf9 100644 (file)
@@ -40,7 +40,7 @@ prefix_ unsigned senf::RawINetProtocol::available()
 {
     int n;
     if (::ioctl(fd(),SIOCINQ,&n) < 0)
-        throwErrno();
+        throw SystemException();
     return n;
 }