[Multimedia] Restored the GetException internal api of Player. (#109)
authorcoderhyme <jhyo.kim@samsung.com>
Mon, 5 Feb 2018 08:10:39 +0000 (17:10 +0900)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2018 08:10:39 +0000 (17:10 +0900)
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
src/Tizen.Multimedia.MediaPlayer/Player/Player.ErrorHandler.cs

index 6f6ddc9..07ce450 100644 (file)
@@ -77,5 +77,12 @@ namespace Tizen.Multimedia
                 }
             }
         }
+
+        /// <summary>
+        /// This method supports the product infrastructure and is not intended to be used directly from application code.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        protected static Exception GetException(int errorCode, string message) =>
+            ((PlayerErrorCode)errorCode).GetException(message);
     }
 }
\ No newline at end of file