#include <file.hpp>
|
| FileCompareError (const std::string &src, const std::string &dest, const std::string &reason) noexcept |
|
virtual | ~FileCompareError () noexcept |
|
| exception (const std::string &what_arg, int level_arg) noexcept |
|
virtual | ~exception () noexcept |
|
int | level () const noexcept |
|
virtual const char * | what () const noexcept |
|
|
static std::string | fill (const std::string &src, const std::string &dest, const std::string &reason) noexcept |
|
File read error.
Definition at line 98 of file file.hpp.
◆ FileCompareError()
dunedaq::oks::FileCompareError::FileCompareError |
( |
const std::string & | src, |
|
|
const std::string & | dest, |
|
|
const std::string & | reason ) |
|
inlinenoexcept |
The constructor gets reason from non-oks exception.
Definition at line 103 of file file.hpp.
static std::string fill(const std::string &src, const std::string &dest, const std::string &reason) noexcept
caught dunedaq::conffwk::Exception exception
◆ ~FileCompareError()
virtual dunedaq::oks::FileCompareError::~FileCompareError |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ fill()
std::string dunedaq::oks::FileCompareError::fill |
( |
const std::string & | src, |
|
|
const std::string & | dest, |
|
|
const std::string & | reason ) |
|
staticprivatenoexcept |
Definition at line 246 of file file.cpp.
247 {
248 return ( std::string("Failed to compare file \'") + src + "\' with \'" + dest + "\' because:\n" + reason);
249 }
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