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

Cannot open file. More...

#include <kernel.hpp>

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

Public Member Functions

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

Detailed Description

Cannot open file.

Such exception is thrown when OKS cannot find a file provided by user. It reports test files it tried to open.

Definition at line 135 of file kernel.hpp.

Constructor & Destructor Documentation

◆ CanNotOpenFile()

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

Definition at line 139 of file kernel.hpp.

139: exception (fill(prefix, name, reason), 0) { }
static std::string fill(const char *prefix, const std::string &name, const std::string &reason) noexcept
caught dunedaq::conffwk::Exception exception

◆ ~CanNotOpenFile()

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

Definition at line 141 of file kernel.hpp.

141{ }

Member Function Documentation

◆ fill()

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

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