diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-06-21 09:58:07 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-06-21 11:29:59 +0200 |
commit | eedbe966bba1c070041b3a3ff836b4ef28e5bdaa (patch) | |
tree | 5f6d8bfb2d067af13ce8c1615d91b659caf2e4d9 /ucb/source/ucp/cmis | |
parent | 54f7308641c79d4907bd30cf6afc5bb62481637a (diff) |
Embind: Fix C++ UNO exception catching
...with a new Module.catchUnoException JS function that can be used in a JS
catch block to provide the thrown UNO exception as an Any. (For a non-C++
exception, it rethrows the exception, and for a non-UNO C++ exception it maps it
to css.uno.RuntimeException.)
The implementation reuses parts of bridges/source/cpp_uno/gcc3_wasm/, which have
been moved to a new StaticLibrary_emscriptencxxabi.
Change-Id: I708fe6121c43a1b9736de5dff449f6c4f32a45f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169325
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'ucb/source/ucp/cmis')
0 files changed, 0 insertions, 0 deletions