+ convert OCC exception to FreeCAD exception
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5354 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
0ab5a83903
commit
3e939999c4
|
@ -1243,7 +1243,9 @@ void SketchObject::rebuildExternalGeometry(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (...) {
|
||||
catch (Standard_Failure) {
|
||||
Handle_Standard_Failure e = Standard_Failure::Caught();
|
||||
throw Base::Exception(e->GetMessageString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1256,7 +1258,6 @@ void SketchObject::rebuildExternalGeometry(void)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<Part::Geometry*> SketchObject::getCompleteGeometry(void) const
|
||||
|
|
Loading…
Reference in New Issue
Block a user