[NUI] Fix build warning[CA1064]
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Layer.cs
index 393dbe4..d41b014 100755 (executable)
@@ -127,7 +127,7 @@ namespace Tizen.NUI
                 if (ClippingEnabled)
                 {
                     Rectangle ret = new Rectangle(Interop.Layer.GetClippingBox(swigCPtr), true);
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
                     return ret;
                 }
                 else