X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FDVB%2FDVBDemuxSocketProtocol.cc;h=1394a196e81f2df68bcefb161a44c9f18092f6dc;hb=3863d46dd898b7bc35ea8c6ccd8563b18762a6b6;hp=beb974e2e823dd1c2b9b3135df2809468b6e087b;hpb=7182e19614d49557e1c9faccccd9641d6702cc96;p=senf.git diff --git a/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc b/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc index beb974e..1394a19 100644 --- a/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc +++ b/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc @@ -42,22 +42,23 @@ prefix_ void senf::DVBDemuxSocketProtocol::setBufferSize(unsigned long size) const { if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0) - throw SystemException( - "Could not set the size of the buffer on DVB adapter. requested size: ") << size; + SENF_THROW_SYSTEM_EXCEPTION("") + << "Could not set the size of the buffer on DVB adapter. requested size: " + << size << "."; } prefix_ void senf::DVBDemuxSocketProtocol::startFiltering() const { if (::ioctl(fd(), DMX_START) < 0) - throw SystemException("Could not start filtering operation on DVB adapter"); + SENF_THROW_SYSTEM_EXCEPTION("Could not start filtering operation on DVB adapter."); } prefix_ void senf::DVBDemuxSocketProtocol::stopFiltering() const { if (::ioctl(fd(), DMX_STOP) < 0) - throw SystemException("Could not stop filtering operation on DVB adapter"); + SENF_THROW_SYSTEM_EXCEPTION("Could not stop filtering operation on DVB adapter."); } prefix_ bool senf::DVBDemuxSocketProtocol::eof()