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