COMException Struct Reference

Exception with context information. More...

#include <comutil.h>

Inheritance diagram for COMException:

Inheritance graph
[legend]
Collaboration diagram for COMException:

Collaboration graph
[legend]

Public Types

typedef COMExceptionBase super

Public Member Functions

 COMException (HRESULT hr)
 COMException (HRESULT hr, const char *file, int line)
 COMException (HRESULT hr, const String &obj)
 COMException (HRESULT hr, const String &obj, const char *file, int line)
String toString () const

Data Fields

Context _context
const char * _file
int _line

Detailed Description

Exception with context information.

Definition at line 99 of file comutil.h.


Member Typedef Documentation

typedef COMExceptionBase COMException::super

Definition at line 101 of file comutil.h.


Constructor & Destructor Documentation

COMException::COMException ( HRESULT  hr  )  [inline]

Definition at line 103 of file comutil.h.

References LOG, and toString().

00104      :  super(hr),
00105         _context(CURRENT_CONTEXT),
00106         _file(NULL), _line(0)
00107     {
00108         LOG(toString());
00109         LOG(CURRENT_CONTEXT.getStackTrace());
00110     }

Here is the call graph for this function:

COMException::COMException ( HRESULT  hr,
const char *  file,
int  line 
) [inline]

Definition at line 112 of file comutil.h.

References LOG, and toString().

00113      :  super(hr),
00114         _context(CURRENT_CONTEXT),
00115         _file(file), _line(line)
00116     {
00117         LOG(toString());
00118         LOG(CURRENT_CONTEXT.getStackTrace());
00119     }

Here is the call graph for this function:

COMException::COMException ( HRESULT  hr,
const String &  obj 
) [inline]

Definition at line 121 of file comutil.h.

References LOG, and toString().

00122      :  super(hr),
00123         _context(CURRENT_CONTEXT),
00124         _file(NULL), _line(0)
00125     {
00126         LOG(toString());
00127         LOG(CURRENT_CONTEXT.getStackTrace());
00128     }

Here is the call graph for this function:

COMException::COMException ( HRESULT  hr,
const String &  obj,
const char *  file,
int  line 
) [inline]

Definition at line 130 of file comutil.h.

References LOG, and toString().

00131      :  super(hr),
00132         _context(CURRENT_CONTEXT),
00133         _file(file), _line(line)
00134     {
00135         LOG(toString());
00136         LOG(CURRENT_CONTEXT.getStackTrace());
00137     }

Here is the call graph for this function:


Member Function Documentation

String COMException::toString (  )  const

Referenced by COMException().

Here is the caller graph for this function:


Field Documentation

Context COMException::_context

Definition at line 141 of file comutil.h.

const char* COMException::_file

Definition at line 143 of file comutil.h.

int COMException::_line

Definition at line 144 of file comutil.h.


The documentation for this struct was generated from the following file:
IBrowser Source Code Documentation
generated on 18.09.2008 by doxygen

Homepage