Apply defer macros to callbacks in cynara async client 51/34051/10
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tue, 20 Jan 2015 14:18:37 +0000 (15:18 +0100)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Fri, 20 Mar 2015 10:56:01 +0000 (11:56 +0100)
commit1cbc875e1e85b8e0ecb835807d5470923dd56603
treeea260d08b46016463e3fd9e730a25524880aa6f4
parent3c54ca1bfc09e3f2adb8cfef1156faada4d6ceb1
Apply defer macros to callbacks in cynara async client

After all cynara library functions were sorrounded with try catch
macros causing all exceptions to be caught, there is no way of
throwning an exception from inside of callback function.

This is where defer macros mechanism can be applied.
Now all exceptions will be rethrown after comming back from
libcynara-client-async API functions.

Change-Id: I9743557631f2b13cecddf33cb072f280ae689d0a
src/cynara-tests/common/cynara_test_client_async_client.cpp
src/cynara-tests/common/cynara_test_client_async_request_monitor.cpp
src/cynara-tests/common/cynara_test_client_async_status_monitor.cpp