A base class for all pcl exceptions which inherits from std::runtime_error. More...
#include <exceptions.h>
Public Member Functions | |
std::string | detailedMessage () const throw () |
const std::string & | getFileName () const throw () |
const std::string & | getFunctionName () const throw () |
unsigned | getLineNumber () const throw () |
PCLException (const std::string &error_description, const std::string &file_name="", const std::string &function_name="", unsigned line_number=0) throw () | |
virtual | ~PCLException () throw () |
Protected Attributes | |
std::string | file_name_ |
std::string | function_name_ |
unsigned | line_number_ |
A base class for all pcl exceptions which inherits from std::runtime_error.
Definition at line 51 of file common/include/pcl/exceptions.h.
pcl::PCLException::PCLException | ( | const std::string & | error_description, |
const std::string & | file_name = "" , |
||
const std::string & | function_name = "" , |
||
unsigned | line_number = 0 |
||
) | throw () [inline] |
Definition at line 55 of file common/include/pcl/exceptions.h.
virtual pcl::PCLException::~PCLException | ( | ) | throw () [inline, virtual] |
Definition at line 65 of file common/include/pcl/exceptions.h.
std::string pcl::PCLException::detailedMessage | ( | ) | const throw () [inline] |
Definition at line 87 of file common/include/pcl/exceptions.h.
const std::string& pcl::PCLException::getFileName | ( | ) | const throw () [inline] |
Definition at line 69 of file common/include/pcl/exceptions.h.
const std::string& pcl::PCLException::getFunctionName | ( | ) | const throw () [inline] |
Definition at line 75 of file common/include/pcl/exceptions.h.
unsigned pcl::PCLException::getLineNumber | ( | ) | const throw () [inline] |
Definition at line 81 of file common/include/pcl/exceptions.h.
std::string pcl::PCLException::file_name_ [protected] |
Definition at line 105 of file common/include/pcl/exceptions.h.
std::string pcl::PCLException::function_name_ [protected] |
Definition at line 106 of file common/include/pcl/exceptions.h.
unsigned pcl::PCLException::line_number_ [protected] |
Definition at line 107 of file common/include/pcl/exceptions.h.