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

#include <class.hpp>

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

Public Member Functions

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

Detailed Description

Bad Reqular Expression

Definition at line 162 of file class.hpp.

Constructor & Destructor Documentation

◆ BadReqExp()

dunedaq::oks::BadReqExp::BadReqExp ( const std::string & what,
const std::string & reason )
inlinenoexcept

Definition at line 166 of file class.hpp.

166: exception (fill(what, reason), 0) {}
static std::string fill(const std::string &what, const std::string &reason) noexcept
Definition query.cpp:45
virtual const char * what() const noexcept
caught dunedaq::conffwk::Exception exception

◆ ~BadReqExp()

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

Definition at line 167 of file class.hpp.

167{ }

Member Function Documentation

◆ fill()

std::string dunedaq::oks::BadReqExp::fill ( const std::string & what,
const std::string & reason )
staticprivatenoexcept

Definition at line 45 of file query.cpp.

46 {
47 return std::string("failed to create reqular expression \"") + what + "\": " + reason;
48 }
std::string const reason(ers::Issue const &)

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