OWLNext 7.0
Borland's Object Windows Library for the modern age
|
OLE API related exception object. More...
#include <ocf/except.h>
Public Member Functions | |
TXOle (const owl::tstring &msg, HRESULT stat) | |
TXOle (const TXOle &src) | |
~TXOle () | |
TXOle * | Clone () |
void | Throw () |
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 | Check (HRESULT stat, LPCTSTR msg) |
static void | Check (HRESULT stat) |
static void | Throw (HRESULT stat, LPCTSTR msg) |
static void | OleErrorFromCode (HRESULT stat, TCHAR *buffer, int size) |
Static Public Member Functions inherited from owl::TXBase | |
static void | Raise (const tstring &msg) |
Constructs a TXBase exception from scratch, and throws it. | |
Public Attributes | |
const long | Stat |
Additional Inherited Members | |
Protected Attributes inherited from owl::TXBase | |
std::string | str |
|
inline |
ocf::TXOle::~TXOle | ( | ) |
Definition at line 21 of file except.cpp.
Definition at line 57 of file except.cpp.
References Check().
Definition at line 47 of file except.cpp.
References Throw().
|
virtual |
Definition at line 84 of file except.cpp.
References _tcslen, _tcsncpy, and owl::TSystemMessage::SysMessage().
|
virtual |
Reimplemented from owl::TXBase.
Definition at line 38 of file except.cpp.
Definition at line 66 of file except.cpp.
References TXOle(), _T, _tcscat, _tcslen, HR_NOERROR, OleErrorFromCode(), and WARN.