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::string > | BON::StringVector |
| typedef std::vector< std::string > | MON::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 ASSERTTHROW | ( | exc | ) |
{ \
ASSERT( ( exc.getErrorMessage().c_str(), false ) ); \
throw exc; \
}
Definition at line 62 of file Exceptions.h.
| #define BONCOMTHROW | ( | expr | ) |
{ \
HRESULT hResult = expr; \
if ( FAILED( hResult ) ) \
ASSERTTHROW( BON::Exception( hResult, "COMException" ) ); \
}
Definition at line 68 of file Exceptions.h.
| void COMCHECK2 | ( | T * | p, | |
| const HRESULT | hr | |||
| ) | [inline] |
Definition at line 58 of file Exceptions.h.
| void COMCHECK2 | ( | const CComPtr< T > & | p, | |
| const HRESULT | hr | |||
| ) | [inline] |
Definition at line 35 of file Exceptions.h.
1.6.3