{
r = CreateNetConnection();
r = TransExceptionsExclusive(r, E_SYSTEM, E_OUT_OF_MEMORY);
- TryReturn(r == E_SUCCESS, r, "[%s] Failed to create netconnection.", GetErrorMessage(r));
+ SysTryReturnResult(NID_NET_WIFI, r == E_SUCCESS, r, "Failed to create netconnection.");
}
SysTryReturnResult(NID_NET_WIFI, r == E_SUCCESS, r, "Failed to create mutex.");
r = __retryTimer.Construct(*this);
- TryReturn(r == E_SUCCESS, r, "[%s] Failed to Construct timer.", GetErrorMessage(r));
+ SysTryReturnResult(NID_NET_WIFI, r == E_SUCCESS, r, "Failed to construct timer.");
return r;
}