projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added more or less meaningful descriptions when throwing SystemExceptions
[senf.git]
/
senf
/
Socket
/
Protocols
/
DatagramSocketProtocol.cc
diff --git
a/senf/Socket/Protocols/DatagramSocketProtocol.cc
b/senf/Socket/Protocols/DatagramSocketProtocol.cc
index
01096e3
..
39e4430
100644
(file)
--- a/
senf/Socket/Protocols/DatagramSocketProtocol.cc
+++ b/
senf/Socket/Protocols/DatagramSocketProtocol.cc
@@
-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);
}