"/dev/dvb/adapter%d/frontend%d") % adapter % device);
int f = open(devFrontend.c_str(), O_RDONLY | O_NONBLOCK);
if (f < 0)
- throw SystemException();
+ throw SystemException("Could not open frontend device of DVB adapter ")<< devFrontend;
+
fd(f);
}
const
{
if (::ioctl(fd(), FE_READ_SIGNAL_STRENGTH, strength) < 0)
- throw SystemException();
+ throw SystemException( "Could not get signal strength of DVB adapter");
}
///////////////////////////////cc.e////////////////////////////////////////