MUQ  0.4.3
muq::NotRegisteredError Class Reference

Used when a child class has not been registered with the factory method. More...

#include <Exceptions.h>

Inheritance diagram for muq::NotRegisteredError:

Detailed Description

Used when a child class has not been registered with the factory method.

Throughout MUQ, we have many abstract parent classes that define general mathematical objects (like MCMC kernels or orthogonal polynomials). We also use a class registration system to map strings to constructors for children of these abstract classes. This error is thrown when a string does not match any classes registered with a factory class. For example, this exception will be thrown if "ClownShoes" is passed to the Polynomial constructor.

Definition at line 36 of file Exceptions.h.

Public Member Functions

 NotRegisteredError (std::string const &message)
 

Constructor & Destructor Documentation

◆ NotRegisteredError()

muq::NotRegisteredError::NotRegisteredError ( std::string const &  message)
inline

Definition at line 39 of file Exceptions.h.


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