Used when a child class has not been registered with the factory method. More...
#include <Exceptions.h>
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) | |
|
inline |
Definition at line 39 of file Exceptions.h.