[NUI] Fix build warning[CA1064]
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / NativeImageSource.cs
index bd0f38d..a68e0bb 100755 (executable)
@@ -50,7 +50,7 @@ namespace Tizen.NUI
             {
                 string uri = "";
                 uri = Interop.NativeImageSource.GenerateUrl(this.swigCPtr.Handle);
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
                 return new Uri(uri);
             }
         }