Rigid Body Dynamics Library
RBDLInvalidParameterError Class Reference

Thrown if parameter of function was faulty. More...

#include <rbdl_errors.h>

+ Inheritance diagram for RBDLInvalidParameterError:

Public Member Functions

 RBDLInvalidParameterError (std::string text)
 
- Public Member Functions inherited from RBDLError
 RBDLError (std::string text)
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from RBDLError
std::string text
 

Detailed Description

Thrown if parameter of function was faulty.

This error class is thrown if a parameter supplied to a function can not be used. This may have many reasons, details should be read from the error message.

Example of error thrown in addons/geometry/SmoothSegmentedFunction.cc:

210 errormsg << "SmoothSegmentedFunction::scale "
211 << _name.c_str()
212 << ": xScale must be greater than sqrt(eps). Setting xScale to such"
213 << " a small value will cause the slope of the curve to approach "
214 << " infinity, or become undefined."
215 << endl;
Thrown if parameter of function was faulty.
Definition: rbdl_errors.h:53

Definition at line 52 of file rbdl_errors.h.

Constructor & Destructor Documentation

◆ RBDLInvalidParameterError()

RBDLInvalidParameterError ( std::string  text)

Definition at line 34 of file rbdl_errors.cc.


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