Replace TryReturn with SysTryReturnResult
authorJaehwan Lee <jh8379.lee@samsung.com>
Wed, 8 May 2013 00:12:00 +0000 (09:12 +0900)
committerJaehwan Lee <jh8379.lee@samsung.com>
Wed, 8 May 2013 00:12:00 +0000 (09:12 +0900)
Change-Id: I2d79f5202beec9cade023e1a9ad0d078f2417252
Signed-off-by: Jaehwan Lee <jh8379.lee@samsung.com>
src/wifi/FNetWifi_WifiDirectGroupClientImpl.cpp

index 4171df7..3cb5e1f 100644 (file)
@@ -775,7 +775,7 @@ _WifiDirectGroupClientImpl::Construct(WifiDirectDeviceId localDeviceId, _WifiDir
        {
                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.");
        }
 
 
@@ -784,7 +784,7 @@ _WifiDirectGroupClientImpl::Construct(WifiDirectDeviceId localDeviceId, _WifiDir
        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;
 }