Add badge remove exception when user find not existed badge
authorseungha.son <seungha.son@samsung.com>
Mon, 17 Oct 2016 04:00:56 +0000 (13:00 +0900)
committerseungha.son <seungha.son@samsung.com>
Mon, 17 Oct 2016 04:03:01 +0000 (13:03 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I0224bad3ecf45fba19c671e76f448aff9f347ba6

Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs

index 955ec1d..efb44c1 100755 (executable)
@@ -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");
             }
         }