Cannot change comment. Such exception is thrown when OKS cannot change comment.
More...
#include <file.hpp>
|
static std::string | fill (const OksFile &file, const std::string &creation_time, const std::string &reason) noexcept |
|
Cannot change comment. Such exception is thrown when OKS cannot change comment.
Definition at line 245 of file file.hpp.
◆ FailedChangeComment() [1/2]
dunedaq::oks::FailedChangeComment::FailedChangeComment |
( |
const OksFile & | file, |
|
|
const std::string & | creation_time, |
|
|
const exception & | reason ) |
|
inlinenoexcept |
The constructor gets reason from nested oks exception.
Definition at line 250 of file file.hpp.
caught dunedaq::conffwk::Exception exception
std::string const reason(ers::Issue const &)
◆ FailedChangeComment() [2/2]
dunedaq::oks::FailedChangeComment::FailedChangeComment |
( |
const OksFile & | file, |
|
|
const std::string & | creation_time, |
|
|
const std::string & | reason ) |
|
inlinenoexcept |
The constructor gets reason from non-oks exception.
Definition at line 253 of file file.hpp.
◆ ~FailedChangeComment()
virtual dunedaq::oks::FailedChangeComment::~FailedChangeComment |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ fill()
std::string dunedaq::oks::FailedChangeComment::fill |
( |
const OksFile & | file, |
|
|
const std::string & | creation_time, |
|
|
const std::string & | reason ) |
|
staticprivatenoexcept |
Definition at line 228 of file file.cpp.
229 {
230 return ( std::string(
"Failed to change comment created at \'") + creation_time +
"\' from file \'" +
file.get_full_file_name() +
"\' because:\n" + reason);
231 }
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