MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / setFileName

Method setFileName

src/Base/Exception.cpp:231–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void FileException::setFileName(const std::string& fileName)
232{
233 file.setFile(fileName);
234 _sErrMsgAndFileName = getMessage();
235 if (!getFile().empty()) {
236 _sErrMsgAndFileName += ": ";
237 _sErrMsgAndFileName += fileName;
238 }
239}
240
241std::string FileException::getFileName() const
242{

Callers

nothing calls this directly

Calls 3

getMessageFunction · 0.50
setFileMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected