Wed, 11/01/2000 - 15:28
Forums:
Hello ,
I am creating a B-Spline surface but the code ( see below ) does not catch the Construction Error. It causes an exception but does not catch it. I have found this problem most of the time with Geom_BSplineSurface constructors.
Please help
regards - prasad
--------------------------- part of the code ---------------------
try {
cout
Handle(Geom_BSplineSurface) Bss = new Geom_BSplineSurface(poles,
uk , vk ,
umult, vmult ,
udeg , vdeg ,
uper , vper );
done = 1;
cout
cout.flush();
} catch ( Standard_ConstructionError e ) {
Bss = NULL;
done = 0;
} --------------------------
Thu, 11/02/2000 - 15:42
Hi !
Is this on Windows or UNIX ? I do not have problems catching exceptions.
Do try/catch work in other parts of your application ?
Mikael