roboptim::SolverWarning Class Reference

Exception used for non-critical errors during optimization. More...

#include <roboptim/core/solver-warning.hh>

Inheritance diagram for roboptim::SolverWarning:
roboptim::SolverError

List of all members.

Public Member Functions

 SolverWarning (const std::string &arg)
 Instantiate the class with a message.
virtual std::ostream & print (std::ostream &) const
 Display the problem on the specified output stream.

Detailed Description

Exception used for non-critical errors during optimization.

This class is mainly used to populate the warning vector of the ResultWithWarnings class.


Constructor & Destructor Documentation

roboptim::SolverWarning::SolverWarning ( const std::string &  arg) [explicit]

Instantiate the class with a message.

Parameters:
argmessage

Member Function Documentation

std::ostream & roboptim::SolverWarning::print ( std::ostream &  o) const [virtual]

Display the problem on the specified output stream.

Parameters:
ooutput stream used for display
Returns:
output stream

Reimplemented from roboptim::SolverError.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines