47 #include "visp/vpException.h"
55 vpException::vpException (
int _code)
65 vpException::vpException (
int _code,
66 const std::string & _msg)
76 vpException::vpException (
int _code,
102 return (this->message) .c_str();
107 return this->message;
124 return (this->message) .c_str();
140 os <<
"Error [" << error.code <<
"]:\t" << error.message << std::endl;
const char * getMessage(void)
int getCode(void)
send the object code
error that can be emited by ViSP classes.
const char * what() const
const std::string & getStringMessage(void)
send a reference (constant) related the error message (can be empty)
VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpImagePoint &ip)