43 #ifndef _vpException_h_ 44 #define _vpException_h_ 50 #include <visp3/core/vpConfig.h> 81 void setMessage(
const char *format, va_list args);
101 vpException(
int code,
const char *format, va_list args);
110 #if VISP_CXX_STANDARD > VISP_CXX_STANDARD_98 122 const std::string &getStringMessage()
const;
125 const char *getMessage()
const;
129 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpException &art);
131 const char *what()
const throw();
Used to indicate that a value is not in the allowed range.
error that can be emited by ViSP classes.
std::string message
Contains an error message (can be empty)
int code
Contains the error code, see the errorCodeEnum table for details.
vpException()
forbid the empty constructor (protected)
Function not implemented.