|
xentara-utils v2.0.6
The Xentara Utility Library
|
An exception that wraps an IErrorInfo COM object. More...
#include <xentara/utils/windows/com/Errors.hpp>
Inheritance diagram for xentara::utils::windows::com::Exception:Public Member Functions | |
| Exception (ObjectHandle< IErrorInfo > &&errorInfo, const std::string &what) | |
| Creates an erro info object. | |
| Exception (ObjectHandle< IErrorInfo > &&errorInfo, const char *what) | |
| Creates an erro info object. | |
| auto | errorInfo () const -> IErrorInfo & |
| Returns the error info. | |
| auto | what () const noexcept -> const char * |
| Returns the explanatory string. | |
Public Member Functions inherited from std::runtime_error | |
| T | runtime_error (T... args) |
| T | what (T... args) |
An exception that wraps an IErrorInfo COM object.
| xentara::utils::windows::com::Exception::Exception | ( | ObjectHandle< IErrorInfo > && | errorInfo, |
| const std::string & | what | ||
| ) |
Creates an erro info object.
| errorInfo | The error info. Must not be a null handle. |
| what | An exlanatory string describing the error. This string will appear in the what() string, together with the error message from errorInfo. |
| xentara::utils::windows::com::Exception::Exception | ( | ObjectHandle< IErrorInfo > && | errorInfo, |
| const char * | what | ||
| ) |
Creates an erro info object.
| errorInfo | The error info. Must not be a null handle. |
| what | An exlanatory string describing the error. This string will appear in the what() string, together with the error message from errorInfo. |
| auto xentara::utils::windows::com::Exception::errorInfo | ( | ) | const -> IErrorInfo & |
Returns the error info.
|
noexcept |
Returns the explanatory string.