DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::oks::FailedReloadFile Class Reference

Cannot re-load files. More...

#include <kernel.hpp>

Inheritance diagram for dunedaq::oks::FailedReloadFile:
[legend]
Collaboration diagram for dunedaq::oks::FailedReloadFile:
[legend]

Public Member Functions

 FailedReloadFile (const std::string &names, const exception &reason) noexcept
 
 FailedReloadFile (const std::string &names, const std::string &reason) noexcept
 
virtual ~FailedReloadFile () noexcept
 
- Public Member Functions inherited from dunedaq::oks::exception
 exception (const std::string &what_arg, int level_arg) noexcept
 
virtual ~exception () noexcept
 
int level () const noexcept
 
virtual const char * what () const noexcept
 

Static Private Member Functions

static std::string fill (const std::string &names, const std::string &reason) noexcept
 

Detailed Description

Cannot re-load files.

Such exception is thrown when OKS cannot re-load files.

Definition at line 82 of file kernel.hpp.

Constructor & Destructor Documentation

◆ FailedReloadFile() [1/2]

dunedaq::oks::FailedReloadFile::FailedReloadFile ( const std::string & names,
const exception & reason )
inlinenoexcept

The constructor gets reason from nested oks exception.

Definition at line 87 of file kernel.hpp.

87: exception (fill(names, reason.what()), reason.level() + 1) { }
static std::string fill(const std::string &names, const std::string &reason) noexcept
caught dunedaq::conffwk::Exception exception
std::string const reason(ers::Issue const &)

◆ FailedReloadFile() [2/2]

dunedaq::oks::FailedReloadFile::FailedReloadFile ( const std::string & names,
const std::string & reason )
inlinenoexcept

The constructor gets reason from non-oks exception.

Definition at line 90 of file kernel.hpp.

90: exception (fill(names, reason), 0) { }

◆ ~FailedReloadFile()

virtual dunedaq::oks::FailedReloadFile::~FailedReloadFile ( )
inlinevirtualnoexcept

Definition at line 92 of file kernel.hpp.

92{ }

Member Function Documentation

◆ fill()

static std::string dunedaq::oks::FailedReloadFile::fill ( const std::string & names,
const std::string & reason )
staticprivatenoexcept

The documentation for this class was generated from the following file: