comet::comet_exception_handler< OVERRIDE > Struct Template Reference
[ErrorHandling]

#include <handle_except.h>

List of all members.

Static Public Member Functions

HRESULT rethrow (const source_info_t &info)
HRESULT catcher_com_error (const com_error &err, const source_info_t &info)
 Override to modify handling of com_error.
HRESULT catcher_exception (const std::exception &err, const source_info_t &info)
 Override to modify handling of std::exception.
HRESULT catcher_hr (HRESULT hr, const source_info_t &info)
 Override to modify handling of HRESULT.
HRESULT catcher_all (const source_info_t &info)
 This can be overridden to provide handling of other exceptions.


Detailed Description

template<bool OVERRIDE>
struct comet::comet_exception_handler< OVERRIDE >

Common exception handler for comet. Specialize to true to overide the behaviour. It is usually convenient to inherit the comet_exception_handler<true> from comet_exception_handler<false>.


Member Function Documentation

template<bool OVERRIDE>
HRESULT comet::comet_exception_handler< OVERRIDE >::rethrow const source_info_t info  )  [inline, static]
 

Override to modify which exceptions are caught. Note that due to a severe bug in MSVC 6, this will not be called in that case.


The documentation for this struct was generated from the following file: