Add errno to a Exception property

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2021-05-05 15:29:59 +09:00
parent 29486503d1
commit f631f27c25
12 changed files with 57 additions and 39 deletions

View File

@@ -45,10 +45,7 @@ ClientRecvTask::~ClientRecvTask()
*/
void ClientRecvTask::initialize(int argc, char** argv)
{
if (_sensorNetwork->initialize() < 0)
{
throw EXCEPTION(" Can't open the sensor network.\n", 0);
}
_sensorNetwork->initialize();
}
/*