efl-mono: Only raise exception for managed errors.
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Tue, 15 Jan 2019 08:51:20 +0000 (17:51 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Wed, 16 Jan 2019 04:10:38 +0000 (13:10 +0900)
commitd62ab226a6402f9fdaf725c0bbac3f00abee87a9
tree9b9340d5ebb52a8a0820d5a3352e0e110708c26a
parente1498d1458b8b87f859c9d29288add8ec117484a
efl-mono: Only raise exception for managed errors.

Summary:
Previously, any unhandled Eina_Error would cause an exception
to be thrown when the control returned to C#.

This commit changes this behavior to only raise it when an exception
went unhandled from a C# callback back to C, like in an event handler,
for example.

Test Plan: run tests

Reviewers: segfaultxavi, Jaehyun_Cho, felipealmeida

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7537
13 files changed:
src/bin/eolian_mono/eolian/mono/events.hh
src/bin/eolian_mono/eolian/mono/function_definition.hh
src/bin/eolian_mono/eolian/mono/function_helpers.hh
src/bin/eolian_mono/eolian/mono/function_pointer.hh
src/bin/eolian_mono/eolian/mono/klass.hh
src/bindings/mono/eina_mono/eina_error.cs
src/bindings/mono/eldbus_mono/eldbus_common.cs
src/bindings/mono/eldbus_mono/eldbus_connection.cs
src/bindings/mono/eldbus_mono/eldbus_message.cs
src/bindings/mono/eldbus_mono/eldbus_object.cs
src/bindings/mono/eldbus_mono/eldbus_proxy.cs
src/examples/eina/EinaError01.cs
src/tests/efl_mono/Errors.cs