handle_except.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  comet
namespace  comet::impl

Classes

struct  comet::source_info_t
 Specifies the source of an exception. More...
struct  comet::impl::call_logger_redirect_<>
struct  comet::impl::call_logger_redirect_<>::exe<>
struct  comet::error_logger_< OVERRIDE >
struct  comet::comet_exception_handler< OVERRIDE >
struct  comet::impl::handle_exception_default_marker
struct  comet::impl::do_get_source_info_t< O >
struct  comet::impl::do_get_source_info_t< O >::execute_handle< USETHIS >
struct  comet::impl::do_get_source_info_t< O >::execute_handle< false >
struct  comet::handle_exception_default< COCLASS >
struct  comet::handle_exception_default< nil >

Defines

#define COMET_CATCH_CLASS_EX(funcName, iid)
#define COMET_CATCH_UNKNOWN(funcName, iid, clsname)
#define COMET_CATCH_CLASS(funcName)   COMET_CATCH_CLASS_EX(funcName, comtype<interface_is>::uuid())


Detailed Description

Handle Comet exceptions. Copyright 2003 Atex Media Command. All rights reserved.

Define Documentation

#define COMET_CATCH_CLASS funcName   )     COMET_CATCH_CLASS_EX(funcName, comtype<interface_is>::uuid())
 

Macro used in implementation wrappers to hide a bug with catching rethrown classes.

#define COMET_CATCH_CLASS_EX funcName,
iid   ) 
 

Value:

catch ( ... ) { \ return comet_exception_handler<true>::rethrow( impl::do_get_source_info_t<_B>::exec( static_cast<_B*>(this), source_info_t(funcName, iid))); \ }

#define COMET_CATCH_UNKNOWN funcName,
iid,
clsname   ) 
 

Value:

catch ( ... ) { \ comet_exception_handler<true>::rethrow( source_info_t(funcName, iid, clsname)); \ }