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

#include <owl/private/checks.h>

Inheritance diagram for owl::TDiagException:
owl::TCheckFailure owl::TPreconditionFailure

Public Member Functions

 TDiagException (LPCSTR type, const tstring &msg, LPCSTR file, int line)
 
virtual const charwhat () const noexcept
 
virtual tstring why () const
 

Static Public Member Functions

static tstring ToString (LPCSTR s)
 
static int BreakMessage (LPCSTR type, const tstring &msg, LPCSTR file, int line)
 

Protected Attributes

TXBase delegate
 

Detailed Description

Definition at line 141 of file checks.h.

Constructor & Destructor Documentation

◆ TDiagException()

owl::TDiagException::TDiagException ( LPCSTR type,
const tstring & msg,
LPCSTR file,
int line )

Definition at line 347 of file checks.cpp.

Member Function Documentation

◆ BreakMessage()

int owl::TDiagException::BreakMessage ( LPCSTR type,
const tstring & msg,
LPCSTR file,
int line )
static

Definition at line 373 of file checks.cpp.

References _A2W, _T, _USES_CONVERSION, and OWL_BREAK.

◆ ToString()

tstring owl::TDiagException::ToString ( LPCSTR s)
static

Definition at line 366 of file checks.cpp.

References _A2W, and _USES_CONVERSION.

◆ what()

const char * owl::TDiagException::what ( ) const
virtualnoexcept

Definition at line 354 of file checks.cpp.

References delegate, and owl::TXBase::what().

◆ why()

tstring owl::TDiagException::why ( ) const
virtual

Definition at line 360 of file checks.cpp.

References delegate, and owl::TXBase::why().

Member Data Documentation

◆ delegate

TXBase owl::TDiagException::delegate
protected

Definition at line 156 of file checks.h.


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