Utils: Removed ErrnoException and implemented generic Exception base-class
[senf.git] / Socket / Protocols / DatagramSocketProtocol.cc
index a78b4ec..0ee1e0b 100644 (file)
@@ -40,7 +40,7 @@ prefix_ struct timeval senf::DatagramSocketProtocol::timestamp()
 {
     struct timeval tv;
     if (::ioctl(fd(), SIOCGSTAMP, &tv) < 0)
-        throwErrno();
+        throw SystemException();
     return tv;
 }