Fix to use InvalidOperationException instead of SystemException
authorWonYoung Choi <wy80.choi@samsung.com>
Wed, 24 Aug 2016 06:27:40 +0000 (15:27 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Wed, 24 Aug 2016 06:30:37 +0000 (15:30 +0900)
SystemException class can not be found at building with corefx.
And The .Net Framework Guide of Microsoft does not recommend using
SystemException directly also.

Change-Id: Ie7932a4428623785b89ca15f7926f3d8aa880bd3
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
Tizen.Network.IoTConnectivity/Tizen.Network.IoTConnectivity/IoTConnectivityErrorFactory.cs

index 8c897c7..5bf6f9f 100755 (executable)
@@ -83,7 +83,7 @@ namespace Tizen.Network.IoTConnectivity
             }
             else if (error == IoTConnectivityError.System)
             {
-                return new SystemException("System error");
+                return new InvalidOperationException("System error");
             }
             else
             {