|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Base OC exception class. More...
#include <ocf/except.h>
Public Types | |
| enum | TError { xNoError , xBOleLoadFail , xBOleVersFail , xBOleBindFail , xDocFactoryFail , xMissingRootIStorage , xInternalPartError , xPartInitError , xRootStorageOpenError , xStorageOpenError , xStorageILockError , xStreamOpenError } |
Public Member Functions | |
| TXObjComp (TError err, const owl::tstring &msg, HRESULT stat=HR_FAIL) | |
| TXObjComp (const TXObjComp &src) | |
| ~TXObjComp () | |
| TXObjComp * | Clone () |
| void | Throw () |
Public Member Functions inherited from ocf::TXOle | |
| 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, TError err, LPCTSTR msg=0) |
| static void | Throw (TError err, HRESULT stat=HR_FAIL, LPCTSTR msg=0) |
Static Public Member Functions inherited from ocf::TXOle | |
| 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 TError | ErrorCode |
Public Attributes inherited from ocf::TXOle | |
| const long | Stat |
Additional Inherited Members | |
Protected Attributes inherited from owl::TXBase | |
| std::string | str |
|
inline |
| ocf::TXObjComp::~TXObjComp | ( | ) |
Definition at line 43 of file ocstorag.cpp.
Definition at line 58 of file ocstorag.cpp.
References Throw().
|
virtual |
|
virtual |
Reimplemented from owl::TXBase.
Definition at line 53 of file ocstorag.cpp.
Definition at line 79 of file ocstorag.cpp.
References TXObjComp(), _T, _tcscat, _tcslen, HR_FAIL, HR_NOERROR, ocf::TXOle::OleErrorFromCode(), and WARNX.