#include <omgui/exception.h>
Inherited by omgui::SystemError.
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 | |
Exception (int code, int line, const char *file, int extra=0) throw () | |
int | get_code () const throw () |
int | get_extra () const throw () |
const char * | get_file () const throw () |
int | get_line () const throw () |
virtual const char * | what () const throw () |
virtual | ~Exception () 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 |
omgui::Exception::Exception | ( | int | code, | |
int | line, | |||
const char * | file, | |||
int | extra = 0 | |||
) | throw () |
omgui::Exception::~Exception | ( | ) | throw () [virtual] |
int omgui::Exception::get_code | ( | ) | const throw () |
int omgui::Exception::get_extra | ( | ) | const throw () |
const char * omgui::Exception::get_file | ( | ) | const throw () |
int omgui::Exception::get_line | ( | ) | const throw () |
const char * omgui::Exception::what | ( | ) | const throw () [virtual] |
int omgui::Exception::m_code [protected] |
A value used to indicate the error code.
int omgui::Exception::m_extra [protected] |
Provides additional error information, such as the system error code.
const char* omgui::Exception::m_file [protected] |
the name of the file that generated the exception
int omgui::Exception::m_line [protected] |
line that generated the exception