Tomographer  v5.3
Tomographer C++ Framework Documentation
Tomographer::DenseDM::InvalidMeasData Class Reference

Exception class notifying of invalid measurement data. More...

#include <tomographer/densedm/densellh.h>

+ Inheritance diagram for Tomographer::DenseDM::InvalidMeasData:
+ Collaboration diagram for Tomographer::DenseDM::InvalidMeasData:

Public Member Functions

 InvalidMeasData (const std::string &msg)
 Constructor with error message. More...
 
 InvalidMeasData (std::string &&msg)
 Constructor with error message (given as rvalue reference)
 
std::string msg () const noexcept
 Get the message provided to the constructor.
 
std::string fullMsg () const noexcept
 Get the full error message.
 
virtual const char * what () const noexcept
 Get the full error message as a pointer to a C string.
 
- Public Member Functions inherited from std::exception
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
exception (T... args)
 

Detailed Description

Exception class notifying of invalid measurement data.

Implementations of a DenseLLH Interface compliant type may throw this exception to notify that the provided measurement data is invalid.

Definition at line 84 of file densellh.h.

Constructor & Destructor Documentation

§ InvalidMeasData()

Tomographer::DenseDM::InvalidMeasData::InvalidMeasData ( const std::string msg)
inline

Constructor with error message.

The string "Invalid Measurement Data: " is prepended to the given message to construct the fullMsg() which is also returned by what().

Definition at line 94 of file densellh.h.


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