Utils: Implement helper macros to add file/line information to SystemException's
[senf.git] / Socket / Protocols / DatagramSocketProtocol.cc
index 0ee1e0b..a0ac877 100644 (file)
@@ -40,7 +40,7 @@ prefix_ struct timeval senf::DatagramSocketProtocol::timestamp()
 {
     struct timeval tv;
     if (::ioctl(fd(), SIOCGSTAMP, &tv) < 0)
-        throw SystemException();
+        SENF_THROW_SYSTEM_EXCEPTION("");
     return tv;
 }