[EDIT] " Note that this kind of behavior is prohibited by C++ standard."
Technically, this is not prohibited. But doing so leads to program termination. Which is unacceptable. A library code must not terminate the users of its code.
Archived discussion
I have issues with some exceptions not being possible to catch with try/catch. It looks like the code is throwing exceptions AFTER another exception has been thrown. Note that this kind of behavior is prohibited by C++ standard.
I am using this class:
BRepOffsetAPI_MakeOffset
calling Perform() leads to program termination, and adding try {} catch(...) {} does nothing.
Discussion
Posts are displayed in their archived order.
[EDIT] " Note that this kind of behavior is prohibited by C++ standard."
Technically, this is not prohibited. But doing so leads to program termination. Which is unacceptable. A library code must not terminate the users of its code.