Microsoft C++ exception: Standard_Failure at memory location 0x003ef018
Submitted by Dileep on 25 February, 2015 - 13:53
I am working with the BRepFilletAPI_MakeFillet class. here is my code:-
BRepFilletAPI_MakeFillet mkFillet(theShape);
mkFillet.Add(2.2,theEdge);
try{
mkFillet.Build();
}
catch(Standard_Failure ex){
///**********************
}
catch(...){
return;
}
the program is breaking after executing this line :- mkFillet.Build();
with showing this:-
" Microsoft C++ exception: Standard_Failure at memory location 0x003ef018".
without catching the exception.
please help me if anyone have an idea about what is happening...............
Catching OCC exceptions
Dear Dileep, you incorrectly use catch statement to catch OCC exceptions. I recommend you to study the following section of the documentation:
Handling exceptions
Dear msv, I could be able to
Dear msv, I could be able to solve my problem with your help. thank you very much for your time. :)
here is my code:-
#include
#include
try{
OCC_CATCH_SIGNALS
mkFillet.Build();
}
catch(Standard_Failure){
Handle(Standard_Failure) error = Standard_Failure::Caught();
return;
}
@Dileep