28 #ifndef TOMOGRAPHER_DENSEDM_DENSELLH_H 29 #define TOMOGRAPHER_DENSEDM_DENSELLH_H 36 #include <boost/math/constants/constants.hpp> 95 : _msg(msg), _fullmsg(
"Invalid Measurement Data: " + _msg) { }
100 : _msg(
std::move(msg)), _fullmsg(
"Invalid Measurement Data: " + _msg) { }
110 virtual const char *
what() const noexcept {
return _msg.c_str(); }
Base namespace for the Tomographer project.
std::string fullMsg() const noexcept
Get the full error message.
InvalidMeasData(const std::string &msg)
Constructor with error message.
std::string msg() const noexcept
Get the message provided to the constructor.
InvalidMeasData(std::string &&msg)
Constructor with error message (given as rvalue reference)
Exception class notifying of invalid measurement data.
The DenseLLH-compatible type cannot calculate the LLH function; it is useless.
The DenseLLH-compatible object exposes a method logLikelihoodRho(), taking as argument a (const ref t...
virtual const char * what() const noexcept
Get the full error message as a pointer to a C string.
The DenseLLH-compatible object exposes a method logLikelihoodX(), taking as argument a (const ref to ...