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

Cannot create file. More...

#include <kernel.hpp>

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

Public Member Functions

 CanNotCreateFile (const char *prefix, const char *item, const std::string &name, const exception &reason) noexcept
 
 CanNotCreateFile (const char *prefix, const char *item, const std::string &name, const std::string &reason) noexcept
 
virtual ~CanNotCreateFile () 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 char *prefix, const char *item, const std::string &name, const std::string &reason) noexcept
 

Detailed Description

Cannot create file.

Such exception is thrown when OKS cannot create a new file.

Definition at line 157 of file kernel.hpp.

Constructor & Destructor Documentation

◆ CanNotCreateFile() [1/2]

dunedaq::oks::CanNotCreateFile::CanNotCreateFile ( const char * prefix,
const char * item,
const std::string & name,
const exception & reason )
inlinenoexcept

Definition at line 161 of file kernel.hpp.

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

◆ CanNotCreateFile() [2/2]

dunedaq::oks::CanNotCreateFile::CanNotCreateFile ( const char * prefix,
const char * item,
const std::string & name,
const std::string & reason )
inlinenoexcept

Definition at line 162 of file kernel.hpp.

162: exception (fill(prefix, item, name, reason), 0) { }

◆ ~CanNotCreateFile()

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

Definition at line 164 of file kernel.hpp.

164{ }

Member Function Documentation

◆ fill()

static std::string dunedaq::oks::CanNotCreateFile::fill ( const char * prefix,
const char * item,
const std::string & name,
const std::string & reason )
staticprivatenoexcept

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