Cannot add include file. Such exception is thrown when OKS cannot add include file.
More...
#include <file.hpp>
|
static std::string | fill (const OksFile &file, bool lock_action, const std::string &reason) noexcept |
|
Cannot add include file. Such exception is thrown when OKS cannot add include file.
Definition at line 48 of file file.hpp.
◆ FileLockError()
dunedaq::oks::FileLockError::FileLockError |
( |
const OksFile & | file, |
|
|
bool | lock_action, |
|
|
const std::string & | reason ) |
|
inlinenoexcept |
The constructor gets reason from non-oks exception. If lock_action = true, then cannot lock file. Otherwise cannot unlock file.
Definition at line 58 of file file.hpp.
static std::string fill(const OksFile &file, bool lock_action, const std::string &reason) noexcept
caught dunedaq::conffwk::Exception exception
◆ ~FileLockError()
virtual dunedaq::oks::FileLockError::~FileLockError |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ fill()
std::string dunedaq::oks::FileLockError::fill |
( |
const OksFile & | file, |
|
|
bool | lock_action, |
|
|
const std::string & | reason ) |
|
staticprivatenoexcept |
Definition at line 234 of file file.cpp.
235 {
236 return ( std::string(
"Failed to ") + (lock_action ?
"" :
"un") +
"lock file \'" +
file.get_full_file_name() +
"\' because:\n" + reason);
237 }
The documentation for this class was generated from the following files:
- /github/workspace/dunedaq/sourcecode/oks/include/oks/file.hpp
- /github/workspace/dunedaq/sourcecode/oks/src/file.cpp