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

Failed backup file. More...

#include <kernel.hpp>

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

Public Member Functions

 CanNotBackupFile (const std::string &name, const exception &reason) noexcept
 
virtual ~CanNotBackupFile () 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 &name, const std::string &reason) noexcept
 

Detailed Description

Failed backup file.

Such exception is thrown when OKS cannot successfully write to a backup file.

Definition at line 227 of file kernel.hpp.

Constructor & Destructor Documentation

◆ CanNotBackupFile()

dunedaq::oks::CanNotBackupFile::CanNotBackupFile ( const std::string & name,
const exception & reason )
inlinenoexcept

The constructor gets reason from nested oks exception.

Definition at line 232 of file kernel.hpp.

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

◆ ~CanNotBackupFile()

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

Definition at line 234 of file kernel.hpp.

234{ }

Member Function Documentation

◆ fill()

static std::string dunedaq::oks::CanNotBackupFile::fill ( const std::string & name,
const std::string & reason )
staticprivatenoexcept

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