5 #ifndef BPP_NUMERIC_PARAMETEREXCEPTIONS_H 6 #define BPP_NUMERIC_PARAMETEREXCEPTIONS_H 10 #include "../Exceptions.h" 42 parameter_(pe.parameter_) {}
46 Exception::operator=(pe);
91 virtual double getBadValue()
const;
126 #endif // BPP_NUMERIC_PARAMETEREXCEPTIONS_H Exception thrown when a parameter is not found, for instance in a ParameterList.
virtual ~ParameterException()
ParameterException & operator=(const ParameterException &pe)
ParameterException(const std::string &text, const Parameter *param)
Build a new ParameterException object.
virtual const Parameter * parameter() const
Get the parameter that threw the exception.
const Parameter * parameter_
This class is designed to facilitate the manipulation of parameters.
ParameterException(const ParameterException &pe)
virtual ~ConstraintException()
const std::string parameter_
Exception base class. Overload exception constructor (to control the exceptions mechanism). Destructor is already virtual (from std::exception)
virtual ~ParameterNotFoundException()
Exception thrown when a value do not match a given constraint.
The parameter exception base class.