Boris Mulder
2017-03-14 14:11:27 UTC
Hi all,
Whenever I throw an exception somewhere in code inside a with_libc
lambda expression, and try to catch it outside of that block, it will
not catch that exception.
Example:
|t||ry {|
| Libc::with_libc([&] () { ... throw E||xception();
... } );|
|} catch (Exception &e) {||
Genode::log("caught");||||
}
|The "caught" will never be printed in this case. What can I do to
fix/work around this?
Whenever I throw an exception somewhere in code inside a with_libc
lambda expression, and try to catch it outside of that block, it will
not catch that exception.
Example:
|t||ry {|
| Libc::with_libc([&] () { ... throw E||xception();
... } );|
|} catch (Exception &e) {||
Genode::log("caught");||||
}
|The "caught" will never be printed in this case. What can I do to
fix/work around this?
--
Met vriendelijke groet / kind regards,
Boris Mulder
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands
+31 35 631 3253 (office)
Met vriendelijke groet / kind regards,
Boris Mulder
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands
+31 35 631 3253 (office)