inline void Geom2dAdaptor_Curve::Load(const Handle(Geom2d_Curve)& C)
{
- if ( C.IsNull()) Standard_NullObject::Raise();
+ if ( C.IsNull()) throw Standard_NullObject();
load(C,C->FirstParameter(),C->LastParameter());
}
const Standard_Real UFirst,
const Standard_Real ULast)
{
- if ( C.IsNull()) Standard_NullObject::Raise();
+ if ( C.IsNull()) throw Standard_NullObject();
- if ( UFirst > ULast) Standard_ConstructionError::Raise();
+ if ( UFirst > ULast) throw Standard_ConstructionError();
load(C,UFirst,ULast);
}