if (sockfd == -1) {
const std::string msg = "Error in socket: " + getSystemErrorMessage();
LOGE(msg);
- throw IPCException(msg);
+ throw IPCSocketException(errno, msg);
}
setFdOptions(sockfd);
if (fd == -1) {
const std::string msg = "Error in socket: " + getSystemErrorMessage();
LOGE(msg);
- throw IPCException(msg);
+ throw IPCSocketException(errno, msg);
}
setFdOptions(fd);