View Issue Details

IDProjectCategoryView StatusLast Update
0024439CommunityOCCT:Modeling Datapublic2017-07-28 12:56
ReporterLaszlo Kudela Assigned Toifv 
PrioritylowSeverityminor 
Status newResolutionopen 
PlatformAOSL 
Product Version6.6.0 
Summary0024439: Change the messages that Geom_BSplineSurface throws on bad construction
DescriptionThe CheckSurfaceData function in Geom_BSplineSurface.cxx checks the validity of the B-Spline surface with given knots, control points, etc. If something goes wrong, the function throws (or "raises"), but the message is not really verbose: in every case, the message string of the thrown Standard_Failure is "Geom_BSplineSurface".

It would be nice if someone could fix this, e.g, if the uKnots length and uMultiplicities length is different, throw something like: "Geom_BSplineSurface: number of knots and multiplicities does not match!".

This way, one would not have to debug into it anymore. Catching the expression and couting the message string would do the job.
Steps To ReproduceEasy to reproduce: call the constructor of Geom_BSplineSurface with any configuration of invalid data, and catch the exception.
TagsNo tags attached.
Test case numberNot required

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-12-05 12:05 Laszlo Kudela New Issue
2013-12-05 12:05 Laszlo Kudela Assigned To => ifv
2017-07-28 12:56 apv Test case number => Not required