diff options
author | SukHyung, Kang <shine.kang@samsung.com> | 2017-02-22 20:38:27 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2017-02-22 20:38:27 -0800 |
commit | a0b2e1cb4f8c43a856556cb0ea3f8f19f466810f (patch) | |
tree | 6ded490dd3c6c9fbf84641db3abc739e801c43a0 | |
parent | 6b6b72bb987a7941077529a89c5d26d915ea1728 (diff) | |
parent | 5655230d77adf93fdba8622572a86c7f32267e3f (diff) | |
download | application-a0b2e1cb4f8c43a856556cb0ea3f8f19f466810f.tar.gz application-a0b2e1cb4f8c43a856556cb0ea3f8f19f466810f.tar.bz2 application-a0b2e1cb4f8c43a856556cb0ea3f8f19f466810f.zip |
Merge "[Preference] add exception when set value is null" into tizen
-rwxr-xr-x | Tizen.Applications.Preference/Tizen.Applications/Preference.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tizen.Applications.Preference/Tizen.Applications/Preference.cs b/Tizen.Applications.Preference/Tizen.Applications/Preference.cs index 42311fc..84000c7 100755 --- a/Tizen.Applications.Preference/Tizen.Applications/Preference.cs +++ b/Tizen.Applications.Preference/Tizen.Applications/Preference.cs @@ -215,6 +215,11 @@ namespace Tizen.Applications throw PreferenceErrorFactory.GetException(ret); } } + else + { + Log.Error(LogTag, "Failed to Set"); + throw new ArgumentException("Invalid parameter"); + } } /// <summary> |