|
cxWidgets 1.0
|
Represents an exception in cxWidgets. More...
#include <cxWidgetsException.h>

Public Member Functions | |
| cxWidgetsException (const std::string &pErrorMsg="") | |
| Default constructor. | |
| virtual | ~cxWidgetsException () |
| const std::string & | getErrorMsg () const |
| Returns the error message. | |
| virtual std::string | cxTypeStr () const |
| Returns the name of the cxWidgets class. This can be used to. | |
Represents an exception in cxWidgets.
with an error string. If something goes wrong in cxWidgets, one of these exceptions will be thrown. At the very least, your main program should include its code in a try/catch and should catch a const cxWidgetsException&. The error message can be retreived via the getErrorMsg() method.
|
explicit |
Default constructor.
| pErrorMsg | A string describing an error |
|
virtual |
|
virtual |
Returns the name of the cxWidgets class. This can be used to.
determine the type of cxWidgets object that deriving classes
derive from in applications.
| const string & cx::cxWidgetsException::getErrorMsg | ( | ) | const |
Returns the error message.
Referenced by cxFormAppendComboBoxPair(), cxFormAppendPair(), and cxWindowSizeTest().