|
Point Cloud Library (PCL)
1.7.0
|
General exception class. More...
#include <pcl/io/openni_camera/openni_exception.h>
Public Member Functions | |
| OpenNIException (const std::string &function_name, const std::string &file_name, unsigned line_number, const std::string &message) throw () | |
| Constructor. | |
| virtual | ~OpenNIException () throw () |
| virtual Destructor that never throws an exception | |
| OpenNIException & | operator= (const OpenNIException &exception) throw () |
| Assignment operator to allow copying the message of another exception variable. | |
| virtual const char * | what () const throw () |
| virtual method, derived from std::exception | |
| const std::string & | getFunctionName () const throw () |
| const std::string & | getFileName () const throw () |
| unsigned | getLineNumber () const throw () |
Protected Attributes | |
| std::string | function_name_ |
| std::string | file_name_ |
| unsigned | line_number_ |
| std::string | message_ |
| std::string | message_long_ |
| openni_wrapper::OpenNIException::OpenNIException | ( | const std::string & | function_name, |
| const std::string & | file_name, | ||
| unsigned | line_number, | ||
| const std::string & | message | ||
| ) | throw () |
Constructor.
| [in] | function_name | the function in which this exception was created. |
| [in] | file_name | the file name in which this exception was created. |
| [in] | line_number | the line number where this exception was created. |
| [in] | message | the message of the exception |
| virtual openni_wrapper::OpenNIException::~OpenNIException | ( | ) | throw () [virtual] |
virtual Destructor that never throws an exception
| const std::string& openni_wrapper::OpenNIException::getFileName | ( | ) | const throw () |
| const std::string& openni_wrapper::OpenNIException::getFunctionName | ( | ) | const throw () |
| unsigned openni_wrapper::OpenNIException::getLineNumber | ( | ) | const throw () |
| OpenNIException& openni_wrapper::OpenNIException::operator= | ( | const OpenNIException & | exception | ) | throw () |
Assignment operator to allow copying the message of another exception variable.
| [in] | exception | left hand side |
| virtual const char* openni_wrapper::OpenNIException::what | ( | ) | const throw () [virtual] |
virtual method, derived from std::exception
std::string openni_wrapper::OpenNIException::file_name_ [protected] |
Definition at line 115 of file openni_exception.h.
std::string openni_wrapper::OpenNIException::function_name_ [protected] |
Definition at line 114 of file openni_exception.h.
unsigned openni_wrapper::OpenNIException::line_number_ [protected] |
Definition at line 116 of file openni_exception.h.
std::string openni_wrapper::OpenNIException::message_ [protected] |
Definition at line 117 of file openni_exception.h.
std::string openni_wrapper::OpenNIException::message_long_ [protected] |
Definition at line 118 of file openni_exception.h.