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();
const std::string & getFunctionName() const
std::string message_long_
virtual const char * what() const
virtual ~OpenNIException()
OpenNIException & operator=(const OpenNIException &exception)
std::string function_name_
const std::string & getFileName() const
OpenNIException(const std::string &function_name, const std::string &file_name, unsigned line_number, const std::string &message)
unsigned getLineNumber() const