FreeCAD: master 41a40c1c

Author Committer Branch Timestamp Parent
chennes wwmayer master 2021-02-08 19:13:03 master 5e003093
Changeset [PD] Catch Python exceptions in dtors (Coverity)

In some PartDesign task dialogs, the destructors call functions that may
throw exceptions. If that occurs and the exception is uncaught, this
will ususally end up terminating the program. This commit adds try-catch
blocks around each instance of that (identified by Coverity) and handles
the Python exception in the normal reporting workflow.
mod - src/Mod/PartDesign/Gui/TaskChamferParameters.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskDraftParameters.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskFilletParameters.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskMultiTransformParameters.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskPipeParameters.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskThicknessParameters.cpp Diff File