#include <exception.h>
Public Member Functions | |
| Error & | AddError (const Error &subError) |
| Error () | |
| Exception class realization GNU LGPL. | |
| Error (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg) | |
| unsigned | GetCode () const |
| std::string | GetFileName () const |
| std::string | GetFullMessage () const |
| unsigned | GetLineNum () const |
| std::string | GetMessage () const |
| virtual const char * | what () const throw () |
| virtual | ~Error () throw () |
Private Attributes | |
| unsigned | Code |
| std::string | FileName |
| std::string | FullMessage |
| unsigned | LineNum |
| std::string | Message |
| std::vector< Error > | SubErrors |
Definition at line 42 of file exception.h.
Exception class realization GNU LGPL.
Definition at line 13 of file exception.cpp.
| Common::Error::Error | ( | unsigned | lineNum, |
| const char * | fileName, | ||
| unsigned | errorCode, | ||
| const char * | msg | ||
| ) | [explicit] |
Definition at line 21 of file exception.cpp.
| Common::Error::~Error | ( | ) | throw () [virtual] |
Definition at line 29 of file exception.cpp.
| Common::Error & Common::Error::AddError | ( | const Error & | subError | ) |
Definition at line 53 of file exception.cpp.
| unsigned Common::Error::GetCode | ( | ) | const |
Definition at line 43 of file exception.cpp.
| std::string Common::Error::GetFileName | ( | ) | const |
Definition at line 38 of file exception.cpp.
| std::string Common::Error::GetFullMessage | ( | ) | const |
Definition at line 59 of file exception.cpp.
| unsigned Common::Error::GetLineNum | ( | ) | const |
Definition at line 33 of file exception.cpp.
| std::string Common::Error::GetMessage | ( | ) | const |
Definition at line 48 of file exception.cpp.
| const char * Common::Error::what | ( | ) | const throw () [virtual] |
Definition at line 74 of file exception.cpp.
unsigned Common::Error::Code [private] |
Definition at line 63 of file exception.h.
std::string Common::Error::FileName [private] |
Definition at line 62 of file exception.h.
std::string Common::Error::FullMessage [mutable, private] |
Definition at line 65 of file exception.h.
unsigned Common::Error::LineNum [private] |
Definition at line 61 of file exception.h.
std::string Common::Error::Message [private] |
Definition at line 64 of file exception.h.
std::vector<Error> Common::Error::SubErrors [private] |
Definition at line 66 of file exception.h.