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

@@ -793,7 +793,7 @@ std::vector<Document*> Application::openDocuments(const std::vector<std::string>
_objCount = -1;
}
catch (const Base::Exception &e) {
e.ReportException();
e.reportException();
if (!errs && isMainDoc)
throw;
if (errs && isMainDoc)
@@ -857,7 +857,7 @@ std::vector<Document*> Application::openDocuments(const std::vector<std::string>
try {
docs = Document::getDependentDocuments(docs, true);
} catch (Base::Exception &e) {
e.ReportException();
e.reportException();
}
for(auto it=docs.begin(); it!=docs.end();) {
auto doc = *it;
@@ -2811,7 +2811,7 @@ void Application::initApplication()
Base::Interpreter().runString(Base::ScriptFactory().ProduceScript("FreeCADInit"));
}
catch (const Base::Exception& e) {
e.ReportException();
e.reportException();
}
// seed randomizer