Exception used for non-critical errors during optimization. More...
#include <roboptim/core/solver-warning.hh>
Public Member Functions | |
SolverWarning (const std::string &arg) throw () | |
Instantiate the class with a message. | |
virtual std::ostream & | print (std::ostream &) const throw () |
Display the problem on the specified output stream. |
Exception used for non-critical errors during optimization.
This class is mainly used to populate the warning vector of the ResultWithWarnings class.
roboptim::SolverWarning::SolverWarning | ( | const std::string & | arg | ) | throw () [explicit] |
Instantiate the class with a message.
arg | message |
std::ostream & roboptim::SolverWarning::print | ( | std::ostream & | o | ) | const throw () [virtual] |
Display the problem on the specified output stream.
o | output stream used for display |
Reimplemented from roboptim::SolverError.