Utils: Removed ErrnoException and implemented generic Exception base-class
[senf.git] / Socket / Protocols / DVB / DVBDemuxProtocol.cc
index 90ea73d..79023cc 100644 (file)
@@ -42,21 +42,21 @@ prefix_ void senf::DVBDemuxProtocol::setBufferSize(unsigned long size)
     const
 {
     if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0)
-        throwErrno();
+        throw SystemException();
 }
 
 prefix_ void senf::DVBDemuxProtocol::startFiltering()
     const
 {
     if (::ioctl(fd(), DMX_START) < 0)
-        throwErrno();
+        throw SystemException();
 }
 
 prefix_ void senf::DVBDemuxProtocol::stopFiltering()
     const
 {
     if (::ioctl(fd(), DMX_STOP) < 0)
-        throwErrno();
+        throw SystemException();
 }
 
 prefix_ bool senf::DVBDemuxProtocol::eof()