|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
A nested class, TXInvalidMainWindow describes an exception that results from an invalid Window. More...
#include <owl/applicat.h>
Public Member Functions | |
| TXInvalidMainWindow () | |
| Constructs a TXInvalidMainWindow object with a default IDS_INVALIDMAINWINDOW. | |
| TXInvalidMainWindow * | Clone () |
| void | Throw () |
| Throws the exception object. | |
Public Member Functions inherited from owl::TXOwl | |
| TXOwl (const tstring &msg, uint resId=0) | |
| An OWL exception with a given message for displaying and an unsigned Id that can be used for identification or loading a string. | |
| TXOwl (uint resId, TModule *module=&GetGlobalModule()) | |
| An OWL exception with a given unsigned Id that can is used for loading a message string & identification. | |
| virtual | ~TXOwl () |
| Destroys a TXOwl object. | |
| TXOwl * | Clone () |
| void | Throw () |
| Throws the exception object. | |
| virtual int | Unhandled (TModule *appModule, uint promptResId) |
| Per-exception class unhandled-handler, will default to the per-module unhandled-handler. | |
| uint | GetErrorCode () const |
| Returns the resource ID. | |
Public Member Functions inherited from owl::TXBase | |
| TXBase (const tstring &msg) | |
| Calls the xmsg class's constructor that takes a string parameter and initializes xmsg with the value of the string parameter. | |
| TXBase (const TXBase &src) | |
| Creates a copy of the TXBase object passed in the TXBase parameter. | |
| virtual | ~TXBase () |
| const char * | what () const noexcept |
| TXBase &_RTLENTRY | operator= (const TXBase &src) |
| tstring | why () const |
Static Public Member Functions | |
| static void | Raise () |
| Throws a TXInvalidMainWindow exception. | |
Static Public Member Functions inherited from owl::TXOwl | |
| static tstring | ResourceIdToString (bool *found, uint resId, TModule *module=&GetGlobalModule()) |
| Static member function used to convert a resource id to a 'string'. | |
| static tstring | MakeMessage (uint resId, const tstring &infoStr, TModule *module=&GetGlobalModule()) |
| static tstring | MakeMessage (uint resId, LPCTSTR infoStr, TModule *module=&GetGlobalModule()) |
| Extension to string loader adds the feature of sprintf'ing an additional information string into the resource message string. | |
| static tstring | MakeMessage (uint resId, uint infoNum, TModule *module=&GetGlobalModule()) |
| This extension to the string loader adds the feature of sprintf'ing an additional information string into the resource message string. | |
| static void | Raise (const tstring &msg, uint resId=0) |
| static void | Raise (uint resId, TModule *module=&GetGlobalModule()) |
Static Public Member Functions inherited from owl::TXBase | |
| static void | Raise (const tstring &msg) |
| Constructs a TXBase exception from scratch, and throws it. | |
Additional Inherited Members | |
Public Attributes inherited from owl::TXOwl | |
| uint | ResId |
| Resource ID for a TXOwl object. | |
Protected Attributes inherited from owl::TXBase | |
| std::string | str |
A nested class, TXInvalidMainWindow describes an exception that results from an invalid Window.
This exception is thrown if there is not enough memory to create a window or a dialog object. TApplication::InitInstance throws this exception if it can't initialize an instance of an application object.
Definition at line 498 of file applicat.h.
| owl::TXInvalidMainWindow::TXInvalidMainWindow | ( | ) |
Constructs a TXInvalidMainWindow object with a default IDS_INVALIDMAINWINDOW.
Definition at line 1348 of file applicat.cpp.
|
virtual |
Reimplemented from owl::TXBase.
Definition at line 1355 of file applicat.cpp.
References TXInvalidMainWindow().
|
static |
Throws a TXInvalidMainWindow exception.
Definition at line 1374 of file applicat.cpp.
References TXInvalidMainWindow().
|
virtual |
Throws the exception object.
Throw must be implemented in any class derived from TXOwl.
Reimplemented from owl::TXBase.
Definition at line 1365 of file applicat.cpp.