Add to get current window orientation.
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / src / callbackbase_wrap.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 6b925d4..84f8158
@@ -42,6 +42,10 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_MakeCallback(void * jarg1) {
       {
         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
       };
+    } catch (Dali::DaliException e) {
+      {
+        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+      };
     } catch (...) {
       {
         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
@@ -49,6 +53,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_MakeCallback(void * jarg1) {
     }
   }
 
+
   jresult = (void *)result;
 
   return jresult;