Exception

Hi everybody

I got this exception

*** Abort *** an exception was raised, but no catch was found.
... The exception is:0x2a95a60cdf : Standard_ConstructionError:

Any Ideas?

Thanks in advanced

Rob Bachrach's picture

A Standard_ConstructionError exception can be raised by any of a large number of OCC functions. I would start by wrapping the suspect code (or "main" if you can't narrow it down) with a catch block and printing the message string for the exception (see below). If this doesn't give enough information, you need to start wrapping blocks of OCC code to narrow down the source.

catch (Standard_Failure( {
Handle(Standard_Failure) error = Failure::Caught();
cerr << error << endl;
}