Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
This commit is contained in:
@@ -556,7 +556,7 @@ private:
|
||||
}
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
throw Py::Exception(Base::BaseExceptionFreeCADError, e.GetMessageString());
|
||||
throw Py::Exception(Base::PyExc_FC_GeneralError, e.GetMessageString());
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.setPyException();
|
||||
@@ -713,7 +713,7 @@ private:
|
||||
hApp->Close(hDoc);
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
throw Py::Exception(Base::BaseExceptionFreeCADError, e.GetMessageString());
|
||||
throw Py::Exception(Base::PyExc_FC_GeneralError, e.GetMessageString());
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.setPyException();
|
||||
@@ -817,7 +817,7 @@ private:
|
||||
hApp->Close(hDoc);
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
throw Py::Exception(Base::BaseExceptionFreeCADError, e.GetMessageString());
|
||||
throw Py::Exception(Base::PyExc_FC_GeneralError, e.GetMessageString());
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.setPyException();
|
||||
|
||||
Reference in New Issue
Block a user