Scope
hresult_exception Class Reference

#include <hresult_exception.h>

Inherits std::exception.

Public Member Functions

 hresult_exception (const HRESULT &_hr=S_OK, const char _function[]="none")
 
const char * what () const
 

Public Attributes

HRESULT hr
 
char function [255]
 

Detailed Description

Exception class for HRESULTs.

Definition at line 6 of file hresult_exception.h.

Constructor & Destructor Documentation

hresult_exception::hresult_exception ( const HRESULT &  _hr = S_OK,
const char  _function[] = "none" 
)
inline
Parameters
[in]_hrcurrent HRESULT
[in]_functionfunction where exception occured

Definition at line 18 of file hresult_exception.h.

Member Function Documentation

const char* hresult_exception::what ( ) const
inline
Returns
"HRESULT exception"

Definition at line 24 of file hresult_exception.h.

Member Data Documentation

HRESULT hresult_exception::hr

Current HRESULT.

Definition at line 11 of file hresult_exception.h.

char hresult_exception::function[255]

Function where exception occured.

Definition at line 14 of file hresult_exception.h.


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