added more or less meaningful descriptions when throwing SystemExceptions
[senf.git] / senf / Socket / Protocols / DatagramSocketProtocol.cc
index 01096e3..39e4430 100644 (file)
@@ -45,7 +45,7 @@ prefix_ senf::ClockService::clock_type senf::DatagramSocketProtocol::timestamp()
 {
     struct timeval tv;
     if (::ioctl(fd(), SIOCGSTAMP, &tv) < 0)
-        SENF_THROW_SYSTEM_EXCEPTION("");
+        SENF_THROW_SYSTEM_EXCEPTION("could not get timestamp in DatagramSocketProtocol");
     return ClockService::from_timeval(tv);
 }