Base exception class for solving errors. All other exceptions classes concerning the optimization process should inherits this class. More...
#include <roboptim/core/solver-error.hh>
Public Member Functions | |
SolverError (const std::string &arg) throw () | |
Instantiate an error from an error message. | |
virtual std::ostream & | print (std::ostream &) const throw () |
Display the error on the specified output stream. |
Base exception class for solving errors. All other exceptions classes concerning the optimization process should inherits this class.
roboptim::SolverError::SolverError | ( | const std::string & | arg | ) | throw () [explicit] |
Instantiate an error from an error message.
arg | error message. |
std::ostream & roboptim::SolverError::print | ( | std::ostream & | o | ) | const throw () [virtual] |
Display the error on the specified output stream.
o | output stream used for display |
Reimplemented in roboptim::SolverWarning.
Referenced by roboptim::operator<<().