Base: rename Exception's PascalCase methods to camelCase
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -92,7 +92,7 @@ void QuickMeasure::processSelection()
|
||||
// sub-element e.g. when selecting a constraint in sketcher
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.ReportException();
|
||||
e.reportException();
|
||||
}
|
||||
catch (const Standard_Failure& e) {
|
||||
FC_ERR(e);
|
||||
|
||||
Reference in New Issue
Block a user