mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 19:57:55 +08:00
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:
committed by
dpasukhi
parent
078dfc44ae
commit
6c6f2ceb41
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user