{
qCWarning(lcFileSystem()) << filename << (readonly ? "readonly" : "read write") << e.what();
}
+ catch (std::system_error e)
+ {
+ qCWarning(lcFileSystem()) << filename << e.what();
+ }
+ catch (...)
+ {
+ qCWarning(lcFileSystem()) << filename;
+ }
return;
}
#endif
{
qCWarning(lcFileSystem()) << filename << (readonly ? "readonly" : "read write") << e.what();
}
+ catch (std::system_error e)
+ {
+ qCWarning(lcFileSystem()) << filename << e.what();
+ }
+ catch (...)
+ {
+ qCWarning(lcFileSystem()) << filename;
+ }
return false;
}
#endif
{
qCWarning(lcFileSystem()) << filename << e.what();
}
+ catch (std::system_error e)
+ {
+ qCWarning(lcFileSystem()) << filename << e.what();
+ }
+ catch (...)
+ {
+ qCWarning(lcFileSystem()) << filename;
+ }
return false;
}
#endif
{
qCWarning(lcFileSystem()) << filename << e.what();
}
+ catch (std::system_error e)
+ {
+ qCWarning(lcFileSystem()) << filename << e.what();
+ }
+ catch (...)
+ {
+ qCWarning(lcFileSystem()) << filename;
+ }
return false;
}
#endif
{
qCWarning(lcPropagateDownload()) << _item->_instruction << _item->_file << e.what();
}
+ catch (std::system_error e)
+ {
+ qCWarning(lcPropagateDownload()) << _item->_instruction << _item->_file << e.what();
+ }
+ catch (...)
+ {
+ qCWarning(lcPropagateDownload()) << _item->_instruction << _item->_file;
+ }
#else
if (existingFile.permissions() != _tmpFile.permissions()) {
_tmpFile.setPermissions(existingFile.permissions());