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 () | |
char const * | what () const throw () |
virtual | ~PCLException () throw () |
Protected Attributes | |
std::string | file_name_ |
std::string | function_name_ |
unsigned | line_number_ |
std::string | message_ |
A base class for all pcl exceptions which inherits from std::runtime_error.
Definition at line 65 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 69 of file common/include/pcl/exceptions.h.
virtual pcl::PCLException::~PCLException | ( | ) | throw () [inline, virtual] |
Definition at line 82 of file common/include/pcl/exceptions.h.
std::string pcl::PCLException::detailedMessage | ( | ) | const throw () [inline] |
Definition at line 104 of file common/include/pcl/exceptions.h.
const std::string& pcl::PCLException::getFileName | ( | ) | const throw () [inline] |
Definition at line 86 of file common/include/pcl/exceptions.h.
const std::string& pcl::PCLException::getFunctionName | ( | ) | const throw () [inline] |
Definition at line 92 of file common/include/pcl/exceptions.h.
unsigned pcl::PCLException::getLineNumber | ( | ) | const throw () [inline] |
Definition at line 98 of file common/include/pcl/exceptions.h.
char const* pcl::PCLException::what | ( | ) | const throw () [inline] |
Definition at line 122 of file common/include/pcl/exceptions.h.
std::string pcl::PCLException::file_name_ [protected] |
Definition at line 128 of file common/include/pcl/exceptions.h.
std::string pcl::PCLException::function_name_ [protected] |
Definition at line 129 of file common/include/pcl/exceptions.h.
unsigned pcl::PCLException::line_number_ [protected] |
Definition at line 131 of file common/include/pcl/exceptions.h.
std::string pcl::PCLException::message_ [protected] |
Definition at line 130 of file common/include/pcl/exceptions.h.