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

Failed resolve path. More...

#include <kernel.hpp>

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

Public Member Functions

 CannotResolvePath (const std::string &path, int error_code) noexcept
 
virtual ~CannotResolvePath () 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 &path, int error_code) noexcept
 

Detailed Description

Failed resolve path.

Such exception is thrown when OKS cannot read path.

Definition at line 345 of file kernel.hpp.

Constructor & Destructor Documentation

◆ CannotResolvePath()

dunedaq::oks::CannotResolvePath::CannotResolvePath ( const std::string & path,
int error_code )
inlinenoexcept

The constructor gets reason from non-oks exception.

Definition at line 350 of file kernel.hpp.

350: exception (fill(path, error_code), 0) {}
static std::string fill(const std::string &path, int error_code) noexcept
caught dunedaq::conffwk::Exception exception

◆ ~CannotResolvePath()

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

Definition at line 352 of file kernel.hpp.

352{ }

Member Function Documentation

◆ fill()

static std::string dunedaq::oks::CannotResolvePath::fill ( const std::string & path,
int error_code )
staticprivatenoexcept

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