Base: rename Exception's PascalCase methods to camelCase

This commit is contained in:
Ladislav Michl
2025-05-01 10:14:18 +02:00
parent bf4ace0957
commit 9683cf1e4f
128 changed files with 394 additions and 394 deletions

View File

@@ -666,7 +666,7 @@ private:
str += "FreeCAD exception thrown (";
str += e.what();
str += ")";
e.ReportException();
e.reportException();
throw Py::RuntimeError(str);
}
catch (const std::exception &e) {
@@ -699,7 +699,7 @@ private:
str += "FreeCAD exception thrown (";
str += e.what();
str += ")";
e.ReportException();
e.reportException();
throw Py::RuntimeError(str);
}
catch (const std::exception &e) {

View File

@@ -6338,7 +6338,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWM(Base::CADKernelError,
"Unable to determine the parameter of the first selected curve at the reference "
"point.")
@@ -6350,7 +6350,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWM(Base::CADKernelError,
"Unable to determine the parameter of the second selected curve at the "
"reference point.")
@@ -6423,7 +6423,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWMT(Base::CADKernelError,
QT_TRANSLATE_NOOP("Exceptions",
"Unable to guess intersection of curves. Try adding "
@@ -6449,7 +6449,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWM(Base::CADKernelError,
"Unable to determine the parameter of the first selected curve at the "
"intersection of the curves.")
@@ -6461,7 +6461,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWM(Base::CADKernelError,
"Unable to determine the parameter of the second selected curve at the "
"intersection of the curves.")
@@ -6549,7 +6549,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWM(Base::CADKernelError, "Unable to find intersection between offset curves.")
}
@@ -6568,7 +6568,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWM(Base::CADKernelError, "Unable to determine the starting point of the arc.")
}
@@ -6578,7 +6578,7 @@ GeomArcOfCircle* createFilletGeometry(const Geometry* geo1, const Geometry* geo2
}
}
catch (Base::CADKernelError& e) {
e.ReportException();
e.reportException();
THROWM(Base::CADKernelError, "Unable to determine the end point of the arc.")
}

View File

@@ -877,7 +877,7 @@ void Feature::setMaterialAppearance(const App::Material& material)
ShapeMaterial.setValue(material);
}
catch (const Base::Exception& e) {
e.ReportException();
e.reportException();
}
}