error.h File Reference

#include <comet/config.h>
#include <stdexcept>
#include <string>
#include <comet/error_fwd.h>
#include <comet/bstr.h>
#include <comet/ptr.h>
#include <comet/uuid_fwd.h>

Include dependency graph for error.h:

Include dependency graph

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

class  comet::com_error

Functions

com_ptr< IErrorInfo > GetErrorInfo () throw ()
com_ptr< ICreateErrorInfo > CreateErrorInfo () throw ()
template<typename Itf> bool supports_ErrorInfo (Itf *p)
template<typename Itf> void throw_com_error (Itf *p, HRESULT hr)
HRESULT return_com_error (HRESULT hr, const bstr_t &desc, const bstr_t &src=auto_attach(BSTR(NULL)), const uuid_t &iid=CLSID_NULL, const bstr_t &helpFile=bstr_t(), DWORD helpContext=-1)
HRESULT return_com_error (const std::exception &err, const bstr_t &src=auto_attach(BSTR(NULL)), const uuid_t &iid=CLSID_NULL, const bstr_t &helpFile=bstr_t(), DWORD helpContext=-1)
HRESULT return_com_error (const com_error &err, const bstr_t &src=bstr_t(), const uuid_t &iid=CLSID_NULL) throw ()
void throw_com_error_ (HRESULT hr, const com_ptr< IErrorInfo > &ei)


Detailed Description

Provide COM Error support.