projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Utils: Implement helper macros to add file/line information to SystemException's
[senf.git]
/
Socket
/
Protocols
/
DatagramSocketProtocol.cc
diff --git
a/Socket/Protocols/DatagramSocketProtocol.cc
b/Socket/Protocols/DatagramSocketProtocol.cc
index
0ee1e0b
..
a0ac877
100644
(file)
--- a/
Socket/Protocols/DatagramSocketProtocol.cc
+++ b/
Socket/Protocols/DatagramSocketProtocol.cc
@@
-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;
}