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

@@ -124,7 +124,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

@@ -81,7 +81,7 @@ std::vector<App::DocumentObject*> MeasureBase::getSubject() const
}
catch (Py::Exception&) {
Base::PyException e;
e.ReportException();
e.reportException();
return {};
}
@@ -116,7 +116,7 @@ void MeasureBase::parseSelection(const App::MeasureSelection& selection)
}
catch (Py::Exception&) {
Base::PyException e;
e.ReportException();
e.reportException();
}
}
@@ -136,7 +136,7 @@ std::vector<std::string> MeasureBase::getInputProps()
}
catch (Py::Exception&) {
Base::PyException e;
e.ReportException();
e.reportException();
return {};
}
Py::Sequence propsPy(ret);
@@ -168,7 +168,7 @@ QString MeasureBase::getResultString()
}
catch (Py::Exception&) {
Base::PyException e;
e.ReportException();
e.reportException();
return QString();
}
return QString::fromStdString(ret.as_string());