44 : function_name_ (function_name)
45 , file_name_ (file_name)
46 , line_number_ (line_number)
49 std::stringstream sstream;
50 sstream << function_name_ <<
" @ " << file_name_ <<
" @ " << line_number_ <<
" : " << message_;
51 message_long_ = sstream.str();
unsigned getLineNumber() const
std::string function_name_
virtual ~OpenNI2Exception()
OpenNI2Exception(const std::string &function_name, const std::string &file_name, unsigned line_number, const std::string &message)
const std::string & getFileName() const
OpenNI2Exception & operator=(const OpenNI2Exception &exception)
std::string message_long_
virtual const char * what() const
const std::string & getFunctionName() const