{
int n;
if (::ioctl(fd(),SIOCINQ,&n) < 0)
- throw SystemException("Could not call available() on UNSocket");
+ SENF_THROW_SYSTEM_EXCEPTION("Could not call available() on UNSocket.");
return n;
}
::unlink(una.path().c_str());
}
catch (SystemException & e) {
- SENF_LOG(("UNSocketProtocol::check_and_unlink() failed; " << e.description() ));
+ SENF_LOG(("UNSocketProtocol::check_and_unlink() failed; [" << e.errorString() << "]."));
}
}