myMap.Clear();
if (myJoinType > GeomAbs_Arc) {
- Standard_NotImplemented::Raise();
+ throw Standard_NotImplemented();
}
TopTools_ListOfShape WorkProf;
L = FS.Location();
}
else
- Standard_NoSuchObject::Raise
- ("BRepFill_Evolved : The Face is not planar");
+ throw Standard_NoSuchObject("BRepFill_Evolved : The Face is not planar");
}
if (!L.IsIdentity())
C2d = BRep_Tool::CurveOnSurface(E,F,First,Last);
if (C2d.IsNull()) {
- Standard_ConstructionError::Raise("ConstructionError in PutProfilAt");
+ throw Standard_ConstructionError("ConstructionError in PutProfilAt");
}
if (E.Orientation() == TopAbs_REVERSED) {
return Exp.Current().Orientation();
}
}
- Standard_ConstructionError::Raise("BRepFill_Evolved::OriEdgeInFace");
- return E.Orientation();
+ throw Standard_ConstructionError("BRepFill_Evolved::OriEdgeInFace");
}