#include <sys/socket.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "DVBFrontendHandle.mpp"
#define prefix_
"/dev/dvb/adapter%d/frontend%d") % adapter % device);
int fd = open(devFrontend.c_str(), O_RDONLY | O_NONBLOCK);
if (fd < 0)
- throw SystemException(errno);
+ throwErrno();
body().fd(fd);
}
const
{
if (::ioctl(body().fd(), FE_READ_SIGNAL_STRENGTH, strength) < 0)
- throw SystemException(errno);
+ throwErrno();
}
///////////////////////////////cc.e////////////////////////////////////////