change Error code in GetEventContext method to return proper error
authorSukHyung, Kang <shine.kang@samsung.com>
Mon, 6 Mar 2017 06:28:29 +0000 (15:28 +0900)
committerSukHyung, Kang <shine.kang@samsung.com>
Mon, 6 Mar 2017 06:28:29 +0000 (15:28 +0900)
Change-Id: I24d54451fcf9e78dc4fc0388289574d3390af6bb
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
src/Tizen.Applications.Preference/Tizen.Applications/Preference.cs

index 84000c7..4fd6e79 100755 (executable)
@@ -119,7 +119,7 @@ namespace Tizen.Applications
                 }
                 else
                 {
-                    throw PreferenceErrorFactory.GetException((int)ErrorCode.KeyNotAvailable);
+                    throw PreferenceErrorFactory.GetException((int)PreferenceErrorFactory.PreferenceError.KeyNotAvailable);
                 }
             }