#include <omgui/exception.h>
Inherits omgui::Exception.
Public Types | |
enum | error_codes { SYSTEM = 1, WIDGET_NO_PARENT, NATIVE_HANDLE, GUI_INIT_FAILED, PANEL_NO_LAYOUT_MANAGER, EXISTING_OBJECT_ID } |
Public Member Functions | |
int | get_code () const throw () |
int | get_extra () const throw () |
const char * | get_file () const throw () |
int | get_line () const throw () |
SystemError (int error, int line, char *file) throw () | |
virtual const char * | what () const throw () |
Protected Attributes | |
int | m_code |
A value used to indicate the error code. | |
int | m_extra |
Provides additional error information, such as the system error code. | |
const char * | m_file |
the name of the file that generated the exception | |
int | m_line |
line that generated the exception |
enum omgui::Exception::error_codes [inherited] |
omgui::SystemError::SystemError | ( | int | error, | |
int | line, | |||
char * | file | |||
) | throw () [inline] |
int omgui::Exception::get_code | ( | ) | const throw () [inherited] |
int omgui::Exception::get_extra | ( | ) | const throw () [inherited] |
const char * omgui::Exception::get_file | ( | ) | const throw () [inherited] |
int omgui::Exception::get_line | ( | ) | const throw () [inherited] |
const char * omgui::Exception::what | ( | ) | const throw () [virtual, inherited] |
int omgui::Exception::m_code [protected, inherited] |
A value used to indicate the error code.
int omgui::Exception::m_extra [protected, inherited] |
Provides additional error information, such as the system error code.
const char* omgui::Exception::m_file [protected, inherited] |
the name of the file that generated the exception
int omgui::Exception::m_line [protected, inherited] |
line that generated the exception