From: tho Date: Fri, 29 Feb 2008 16:53:24 +0000 (+0000) Subject: added more meaningful exception text X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=7182e19614d49557e1c9faccccd9641d6702cc96;p=senf.git added more meaningful exception text git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@722 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc b/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc index ce4cef4..beb974e 100644 --- a/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc +++ b/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc @@ -42,21 +42,22 @@ prefix_ void senf::DVBDemuxSocketProtocol::setBufferSize(unsigned long size) const { if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0) - throw SystemException(); + throw SystemException( + "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(); + throw SystemException("Could not start filtering operation on DVB adapter"); } prefix_ void senf::DVBDemuxSocketProtocol::stopFiltering() const { if (::ioctl(fd(), DMX_STOP) < 0) - throw SystemException(); + throw SystemException("Could not stop filtering operation on DVB adapter"); } prefix_ bool senf::DVBDemuxSocketProtocol::eof()