CSEHException Class Reference
[Exceptions]

Collaboration diagram for CSEHException:

Collaboration graph
[legend]

List of all members.


Detailed Description

A exception class used by a structured exception translator to translate Win32 structured exceptions into C++ exceptions. Note that it's a deliberate choice not to derive from CException. Win32 structured exceptions include things like "Stack Overflow" so you want to be sure you know what you're doing if you catch one... We could split the SE exception into two, ones we might be able to recover from and those that we can't recover from and derive the ones we might be able to recover from from CException, but...

Public Member Functions

unsigned int GetCode () const
const
EXCEPTION_POINTERS & 
GetExceptionPointers () const
const CONTEXT & GetContext () const
_tstring GetWhere () const
const _tstringGetMessage () const

Protected Attributes

const unsigned int m_code
EXCEPTION_POINTERS * m_pPointers

Friends

class Translator

Classes

class  Translator
 A class that acts as a structured exception translator. Create one of these objects on each thread where you want Win32 structured exceptions translated into CSEHException. More...

Member Function Documentation

unsigned int GetCode (  )  const

const EXCEPTION_POINTERS & GetExceptionPointers (  )  const

const CONTEXT & GetContext (  )  const

_tstring GetWhere (  )  const

const _tstring & GetMessage (  )  const


Friends And Related Function Documentation

friend class Translator [friend]


Member Data Documentation

const unsigned int m_code [protected]

EXCEPTION_POINTERS* m_pPointers [protected]


Generated on Thu Mar 26 16:40:47 2009 for JetByte Socket Tools - v6.0 by  doxygen 1.5.3