Exception class for HSDS libraries. More...
#include <exception.hpp>
Public Member Functions | |
| Exception (const std::string &message, const char *filename, const char *func, uint32_t line) | |
| Constructor. More... | |
| ~Exception () throw () | |
| Destructor. More... | |
| const char * | what () const throw () |
| Returns exception message as null terminated character sequence. More... | |
| const char * | getFileName () const |
| Returns file name of the exception occurred. More... | |
| const char * | getFunctionName () const |
| Returns function name of the exception occurred. More... | |
| const int | getLineNumber () const |
| Returns line number of the exception occurred. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, hsds::Exception &e) |
Exception class for HSDS libraries.
Definition at line 49 of file exception.hpp.
|
inline |
Constructor.
| [in] | message | Description message of the exception |
| [in] | filename | Name of file that exception occurred |
| [in] | func | Name of function that exception occurred |
| [in] | line | Number of line that exception occurred |
Definition at line 60 of file exception.hpp.
|
inline |
Destructor.
Definition at line 68 of file exception.hpp.
|
inline |
Returns file name of the exception occurred.
Definition at line 86 of file exception.hpp.
|
inline |
Returns function name of the exception occurred.
Definition at line 95 of file exception.hpp.
|
inline |
Returns line number of the exception occurred.
Definition at line 104 of file exception.hpp.
|
inline |
Returns exception message as null terminated character sequence.
Definition at line 77 of file exception.hpp.
|
friend |
Definition at line 117 of file exception.hpp.
1.8.3.1