18 #ifndef __se3_exception_hpp__ 19 #define __se3_exception_hpp__ 30 Exception(std::string msg) : message(msg) {}
31 const char *what()
const throw()
33 return this->getMessage().c_str();
36 virtual const std::string & getMessage()
const {
return message; }
37 std::string copyMessage()
const {
return getMessage(); }
45 #endif // ifndef __se3_exception_hpp__