
Fri, 09/19/2014 - 15:26
Forums:
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.
Fri, 09/19/2014 - 15:30
[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.