|
Confdump Agent
1.4.0
|
Win32 base exception class, usually not thrown directly. More...
#include <errors.hpp>
Public Member Functions | |
| Win32Error (QString message, HRESULT hr) | |
| virtual | ~Win32Error () |
| HRESULT | hresult () const |
| The raw HRESULT value. | |
| QString | hresultAsHex () const |
| hresult() as a 0x... string | |
| Win32Error () | |
| virtual const char * | what () const throw () |
| void | setMessage (QString message) |
Public Attributes | |
| HRESULT | hresult_ |
Win32 base exception class, usually not thrown directly.
The message ctor argument will be returned as is by the std::runtime_error::what() call.
Definition at line 88 of file Wmi/errors.hpp.
| Confdump::System::Wmi::Win32Error::Win32Error | ( | QString | message, |
| HRESULT | hr | ||
| ) |
Definition at line 33 of file Wmi/errors.cpp.
| Confdump::System::Wmi::Win32Error::~Win32Error | ( | ) | [virtual] |
Definition at line 38 of file Wmi/errors.cpp.
| HRESULT Confdump::System::Wmi::Win32Error::hresult | ( | ) | const |
The raw HRESULT value.
Definition at line 42 of file Wmi/errors.cpp.
References hresult_.
Referenced by Confdump::System::Wmi::WbemServices::execQuery().
| QString Confdump::System::Wmi::Win32Error::hresultAsHex | ( | ) | const |
hresult() as a 0x... string
Definition at line 47 of file Wmi/errors.cpp.
References hresult_.
Referenced by Confdump::System::Wmi::ComError::ComError(), and Confdump::System::Wmi::WmiError::WmiError().
| void Confdump::RuntimeError::setMessage | ( | QString | message | ) | [inherited] |
Definition at line 29 of file RuntimeError.cpp.
References Confdump::RuntimeError::message_.
Referenced by Confdump::System::Wmi::ComError::ComError(), Confdump::RuntimeError::RuntimeError(), Confdump::System::Win32::SystemError::SystemError(), and Confdump::System::Wmi::WmiError::WmiError().
| const char * Confdump::RuntimeError::what | ( | ) | const throw () [virtual, inherited] |
Definition at line 38 of file RuntimeError.cpp.
References Confdump::RuntimeError::message_.
Referenced by main().
Definition at line 102 of file Wmi/errors.hpp.
Referenced by hresult(), and hresultAsHex().
1.7.6.1