#include <comstl/error/bad_interface_cast.hpp>
Member Types | |
typedef bad_interface_cast | class_type |
typedef | comstl_ns_qual_std (bad_cast) parent_class_type |
Public Member Functions | |
Construction | |
bad_interface_cast (REFIID riid, HRESULT hr) throw () | |
Constructs an instance of the exception from the given interface identifier and result code. | |
char const * | what () const throw () |
Returns a human-readable description of the exceptional condition. | |
REFIID | iid () const throw () |
The interface identifier that is associated with the exception. | |
HRESULT | hresult () const throw () |
[DEPRECATED] Equivalent to hr() | |
HRESULT | hr () const throw () |
The result code that is associated with the exception. |
bad_interface_cast | ( | REFIID | riid, | |
HRESULT | hr | |||
) | throw () [inline] |
Constructs an instance of the exception from the given interface identifier and result code.
char const* what | ( | ) | const throw () [inline] |
Returns a human-readable description of the exceptional condition.
REFIID iid | ( | ) | const throw () [inline] |
The interface identifier that is associated with the exception.
HRESULT hresult | ( | ) | const throw () [inline] |
HRESULT hr | ( | ) | const throw () [inline] |
The result code that is associated with the exception.