From: seungha.son Date: Mon, 17 Oct 2016 04:00:56 +0000 (+0900) Subject: Add badge remove exception when user find not existed badge X-Git-Tag: submit/trunk/20170823.075128~119^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ced6512dabb6684317c929708d92517c283dd58;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Add badge remove exception when user find not existed badge Signed-off-by: seungha.son Change-Id: I0224bad3ecf45fba19c671e76f448aff9f347ba6 --- diff --git a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs index 955ec1d..efb44c1 100755 --- a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs +++ b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs @@ -153,6 +153,9 @@ namespace Tizen.Applications case Interop.Badge.ErrorCode.ServiceNotReady: throw new InvalidOperationException("Service is not ready"); + + case Interop.Badge.ErrorCode.NotExist: + throw new InvalidOperationException("Not exist"); } }