#include <exception.h>
Public Member Functions | |
| Exception (const char *d, const char *f, int l) | |
| Constructor. | |
| Exception (Exception right, const char *d, const char *f, int l) | |
| Constructor. | |
| void | AddMsg (const char *str) |
| Add some text to description. | |
| std::string | Msg () |
| Get exceptions description. | |
Static Public Member Functions | |
| static void | PreCreate (char *f, int l) |
| Init static variables for exception position. | |
| static Exception | Create (char *format,...) |
| Create instance of exception. | |
Static Protected Attributes | |
| static char | desc_buf [1024] |
| temporal buffer for description. | |
Definition at line 21 of file exception.h.
| MWidgets::Exception::Exception | ( | const char * | d, | |
| const char * | f, | |||
| int | l | |||
| ) |
Constructor.
| d | description. | |
| f | file source. | |
| l | code line. |
Definition at line 16 of file exception.cpp.
Referenced by Create().
| MWidgets::Exception::Exception | ( | Exception | right, | |
| const char * | d, | |||
| const char * | f, | |||
| int | l | |||
| ) |
Constructor.
| right | previous exception,for organising call stack. | |
| d | description. | |
| f | file source. | |
| l | code line. |
Definition at line 33 of file exception.cpp.
| void MWidgets::Exception::AddMsg | ( | const char * | str | ) |
Add some text to description.
| str | some text. |
Definition at line 73 of file exception.cpp.
Referenced by Exception().
| Exception MWidgets::Exception::Create | ( | char * | format, | |
| ... | ||||
| ) | [static] |
Create instance of exception.
parameters like in printf.
Definition at line 57 of file exception.cpp.
References desc_buf, and Exception().
| std::string MWidgets::Exception::Msg | ( | ) |
Get exceptions description.
Definition at line 68 of file exception.cpp.
Referenced by Exception().
| void MWidgets::Exception::PreCreate | ( | char * | f, | |
| int | l | |||
| ) | [static] |
Init static variables for exception position.
| f | source file name. | |
| l | source file line. |
Definition at line 51 of file exception.cpp.
char MWidgets::Exception::desc_buf [static, protected] |
1.4.7