Coding - Use throw instead of legacy Standard_Failure::Raise (#983)

Replace Standard_*::Raise calls with throw statements for better exception handling
This commit is contained in:
Kirill Gavrilov
2026-01-05 16:46:14 +00:00
committed by dpasukhi
parent 078dfc44ae
commit 6c6f2ceb41
16 changed files with 28 additions and 41 deletions
@@ -207,7 +207,7 @@ void ProjLib::MakePCurveOfType(const ProjLib_ProjectedCurve& PC, occ::handle<Geo
case GeomAbs_BezierCurve:
case GeomAbs_OtherCurve:
default:
Standard_NotImplemented::Raise("ProjLib::MakePCurveOfType");
throw Standard_NotImplemented("ProjLib::MakePCurveOfType");
break;
}
}