General exception class. More...
#include <astra_exception.h>
Public Member Functions | |
AstraException (const std::string &function_name, const std::string &file_name, unsigned line_number, const std::string &message) | |
const std::string & | getFileName () const |
const std::string & | getFunctionName () const |
unsigned | getLineNumber () const |
AstraException & | operator= (const AstraException &exception) |
virtual const char * | what () const throw () |
virtual | ~AstraException () throw () |
Protected Attributes | |
std::string | file_name_ |
std::string | function_name_ |
unsigned | line_number_ |
std::string | message_ |
std::string | message_long_ |
astra_wrapper::AstraException::AstraException | ( | const std::string & | function_name, |
const std::string & | file_name, | ||
unsigned | line_number, | ||
const std::string & | message | ||
) |
Definition at line 44 of file astra_exception.cpp.
astra_wrapper::AstraException::~AstraException | ( | ) | throw () [virtual] |
Definition at line 55 of file astra_exception.cpp.
const std::string & astra_wrapper::AstraException::getFileName | ( | ) | const |
Definition at line 75 of file astra_exception.cpp.
const std::string & astra_wrapper::AstraException::getFunctionName | ( | ) | const |
Definition at line 70 of file astra_exception.cpp.
unsigned astra_wrapper::AstraException::getLineNumber | ( | ) | const |
Definition at line 80 of file astra_exception.cpp.
AstraException & astra_wrapper::AstraException::operator= | ( | const AstraException & | exception | ) |
Definition at line 59 of file astra_exception.cpp.
const char * astra_wrapper::AstraException::what | ( | ) | const throw () [virtual] |
Definition at line 65 of file astra_exception.cpp.
std::string astra_wrapper::AstraException::file_name_ [protected] |
Definition at line 76 of file astra_exception.h.
std::string astra_wrapper::AstraException::function_name_ [protected] |
Definition at line 75 of file astra_exception.h.
unsigned astra_wrapper::AstraException::line_number_ [protected] |
Definition at line 77 of file astra_exception.h.
std::string astra_wrapper::AstraException::message_ [protected] |
Definition at line 78 of file astra_exception.h.
std::string astra_wrapper::AstraException::message_long_ [protected] |
Definition at line 79 of file astra_exception.h.