Casadi exception class. More...
#include <casadi_exception.hpp>
Public Member Functions | |
CasadiException () | |
Default constructor. More... | |
CasadiException (const std::string &msg) | |
Form message string. More... | |
CasadiException & | operator<< (const std::string &msg) |
Append a message. More... | |
CasadiException & | operator<< (const std::exception &ex) |
Append an exception. More... | |
virtual const char * | what () const throw () |
Display error. More... | |
~CasadiException () throw () | |
Destructor. More... | |
Protected Attributes | |
std::string | msg_ |
Casadi exception class.
Definition at line 50 of file casadi_exception.hpp.
|
inline |
Default constructor.
Definition at line 53 of file casadi_exception.hpp.
|
inlineexplicit |
Form message string.
Definition at line 57 of file casadi_exception.hpp.
|
inline |
Destructor.
Definition at line 60 of file casadi_exception.hpp.
|
inline |
Append a message.
Definition at line 68 of file casadi_exception.hpp.
|
inline |
Append an exception.
Definition at line 74 of file casadi_exception.hpp.
|
inlinevirtual |
Display error.
Definition at line 63 of file casadi_exception.hpp.
|
protected |
Definition at line 81 of file casadi_exception.hpp.