OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Automation exception object. More...
#include <ocf/autodefs.h>
Public Types | |
enum | TError { xNoError , xConversionFailure , xNotIDispatch , xForeignIDispatch , xTypeMismatch , xNoArgSymbol , xParameterMissing , xNoDefaultValue , xValidateFailure , xExecutionFailure , xErrorStatus } |
Public Member Functions | |
TXAuto (TError err) | |
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 () |
virtual TXBase * | Clone () |
Makes a copy of the exception object. | |
const char * | what () const noexcept |
TXBase &_RTLENTRY | operator= (const TXBase &src) |
tstring | why () const |
Static Public Member Functions | |
static void | Raise (TError err) |
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 | |
TError | ErrorCode |
Additional Inherited Members | |
Protected Attributes inherited from owl::TXBase | |
std::string | str |
Automation exception object.
Definition at line 115 of file autodefs.h.
Enumerator | |
---|---|
xNoError | |
xConversionFailure | |
xNotIDispatch | |
xForeignIDispatch | |
xTypeMismatch | |
xNoArgSymbol | |
xParameterMissing | |
xNoDefaultValue | |
xValidateFailure | |
xExecutionFailure | |
xErrorStatus |
Definition at line 117 of file autodefs.h.
ocf::TXAuto::TXAuto | ( | TXAuto::TError | err | ) |
Definition at line 819 of file autoval.cpp.
|
static |
Definition at line 831 of file autoval.cpp.
References TXAuto().
|
virtual |
Reimplemented from owl::TXBase.
Definition at line 825 of file autoval.cpp.
TError ocf::TXAuto::ErrorCode |
Definition at line 135 of file autodefs.h.