[InputMethod] Add UnauthorizedAccessException
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 6 Sep 2021 03:23:31 +0000 (12:23 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 10 Sep 2021 04:09:51 +0000 (13:09 +0900)
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodExceptionFactory.cs

index 83eea31..b69f859 100644 (file)
@@ -2311,6 +2311,7 @@ namespace Tizen.Uix.InputMethod
         /// <param name="portraitHeight">The height in the portrait mode.</param>
         /// <param name="landscapeWidth">The width in the landscape mode.</param>
         /// <param name="landscapeHeight">The height in the landscape mode.</param>
+        /// <exception cref="UnauthorizedAccessException">This exception can be due to permission denied.</exception>
         /// <exception cref="InvalidOperationException">
         /// This can occur due to the following reasons:
         /// 1) The application does not have the privilege to call this function.
index b4ed8bf..f978ae7 100755 (executable)
@@ -44,7 +44,7 @@ namespace Tizen.Uix.InputMethod
 
                 case ErrorCode.PermissionDenied:
                     {
-                        exp = new InvalidOperationException("Permission Denied");
+                        exp = new UnauthorizedAccessException("Permission Denied");
                         break;
                     }