OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TXAuto Class Reference

Automation exception object. More...

#include <ocf/autodefs.h>

Inheritance diagram for ocf::TXAuto:
owl::TXBase

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 TXBaseClone ()
 Makes a copy of the exception object.
 
const charwhat () 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
 

Detailed Description

Automation exception object.

Definition at line 115 of file autodefs.h.

Member Enumeration Documentation

◆ TError

Enumerator
xNoError 
xConversionFailure 
xNotIDispatch 
xForeignIDispatch 
xTypeMismatch 
xNoArgSymbol 
xParameterMissing 
xNoDefaultValue 
xValidateFailure 
xExecutionFailure 
xErrorStatus 

Definition at line 117 of file autodefs.h.

Constructor & Destructor Documentation

◆ TXAuto()

ocf::TXAuto::TXAuto ( TXAuto::TError err)

Definition at line 819 of file autoval.cpp.

Member Function Documentation

◆ Raise()

void ocf::TXAuto::Raise ( TXAuto::TError err)
static

Definition at line 831 of file autoval.cpp.

References TXAuto().

◆ Throw()

void ocf::TXAuto::Throw ( )
virtual

Reimplemented from owl::TXBase.

Definition at line 825 of file autoval.cpp.

Member Data Documentation

◆ ErrorCode

TError ocf::TXAuto::ErrorCode

Definition at line 135 of file autodefs.h.


The documentation for this class was generated from the following files: