DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Generic Class Reference

Generic configuration exception. More...

#include <Errors.hpp>

Detailed Description

Generic configuration exception.

  \class dunedaq::conffwk::Exception
  \brief Base class for all \b conffwk exceptions

   This exception normally should be caught when any conffwk method is used.
try {
Configuration db(...);
... // any user code working with db
}
catch (dunedaq::conffwk::Exception & ex) {
// throw some user-defined exception in case of conffwk exception
throw ers::error(user::exception(ERS_HERE, "conffwk database problem", ex));
}
#define ERS_HERE
void error(const Issue &issue)
Definition ers.hpp:81


It reports most of the conffwk problems, such as:

  • bad database,
  • wrong parameter,
  • plug-in specific problems

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