Point Cloud Library (PCL)
1.11.0
|
38 #include <pcl/pcl_config.h>
47 #if defined _WIN32 && defined _MSC_VER && !defined __PRETTY_FUNCTION__
48 #define __PRETTY_FUNCTION__ __FUNCTION__
52 #define THROW_IO_EXCEPTION(format,...) throwIOException( __PRETTY_FUNCTION__, __FILE__, __LINE__, format , ##__VA_ARGS__ )
66 const std::string& file_name,
68 const std::string& message);
76 what ()
const throw ()
override;
98 static char msg[1024];
101 vsnprintf (msg, 1024,
format, args);
const std::string & getFunctionName() const
General IO exception class.
std::string function_name_
void throwIOException(const char *function, const char *file, unsigned line, const char *format,...)
std::string message_long_
const std::string & getFileName() const
const char * what() const override
IOException & operator=(const IOException &exception)
IOException(const std::string &function_name, const std::string &file_name, unsigned line_number, const std::string &message)
unsigned getLineNumber() const