Exceptions.h File Reference

Go to the source code of this file.

Classes

class  Util::Exception
class  BON::Exception
class  MON::Exception

Namespaces

namespace  Util
namespace  BON
namespace  MON

Defines

#define ASSERTTHROW(exc)
#define BONCOMTHROW(expr)

Typedefs

typedef std::vector< std::stringBON::StringVector
typedef std::vector< std::stringMON::StringVector

Functions

template<class T >
void COMCHECK2 (const CComPtr< T > &p, const HRESULT hr)
template<class T >
void COMCHECK2 (T *p, const HRESULT hr)

Define Documentation

#define ASSERTTHROW ( exc   ) 
Value:
{                                                                                                                               \
                ASSERT( ( exc.getErrorMessage().c_str(), false ) );             \
                throw   exc;                                                                                            \
        }

Definition at line 62 of file Exceptions.h.

#define BONCOMTHROW ( expr   ) 
Value:
{                                                                                                                                                               \
                HRESULT hResult = expr;                                                                                                 \
                if ( FAILED( hResult ) )                                                                                                        \
                        ASSERTTHROW( BON::Exception( hResult, "COMException" ) );               \
        }

Definition at line 68 of file Exceptions.h.


Function Documentation

template<class T >
void COMCHECK2 ( T *  p,
const HRESULT  hr 
) [inline]

Definition at line 58 of file Exceptions.h.

template<class T >
void COMCHECK2 ( const CComPtr< T > &  p,
const HRESULT  hr 
) [inline]

Definition at line 35 of file Exceptions.h.

Generated on Thu May 30 15:42:56 2013 for GME by  doxygen 1.6.3