Part: Geometry intersect routines throw when OCCT throws

This commit is contained in:
Abdullah Tahiri
2018-10-21 05:58:43 +02:00
committed by wmayer
parent 7c1a218847
commit 396998467b

View File

@@ -482,7 +482,7 @@ bool GeomCurve::intersect( GeomCurve * c,
return false;
}
catch (Standard_Failure& e) {
return false;
throw Base::RuntimeError(e.GetMessageString());
}
}
@@ -1518,7 +1518,7 @@ bool GeomTrimmedCurve::intersectBasisCurves( const GeomTrimmedCurve * c,
return false;
}
catch (Standard_Failure& e) {
return false;
throw Base::RuntimeError(e.GetMessageString());
}
}