const
{
if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0)
- throw SystemException();
+ 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();
+ 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();
+ SENF_THROW_SYSTEM_EXCEPTION("Could not stop filtering operation on DVB adapter.");
}
prefix_ bool senf::DVBDemuxSocketProtocol::eof()