Confdump Agent
1.4.0
|
#include <errors.hpp>
Public Member Functions | |
SystemError (DWORD rc, QString action) | |
virtual | ~SystemError () |
DWORD | errorCode () const |
The raw DWORD value. | |
QString | errorCodeAsHex () const |
hresult() as a 0x... string | |
QString | errorDescription () const |
FormatMessage() output. | |
SystemError () | |
virtual const char * | what () const throw () |
void | setMessage (QString message) |
Public Attributes | |
DWORD | errorCode_ |
QString | action_ |
Win32 API error.
Definition at line 35 of file Win32/errors.hpp.
Confdump::System::Win32::SystemError::SystemError | ( | DWORD | rc, |
QString | action | ||
) |
Definition at line 30 of file Win32/errors.cpp.
References errorCodeAsHex(), errorDescription(), and Confdump::RuntimeError::setMessage().
Confdump::System::Win32::SystemError::~SystemError | ( | ) | [virtual] |
Definition at line 40 of file Win32/errors.cpp.
DWORD Confdump::System::Win32::SystemError::errorCode | ( | ) | const [inline] |
QString Confdump::System::Win32::SystemError::errorCodeAsHex | ( | ) | const |
hresult() as a 0x... string
Definition at line 44 of file Win32/errors.cpp.
References errorCode_.
Referenced by SystemError().
QString Confdump::System::Win32::SystemError::errorDescription | ( | ) | const |
FormatMessage() output.
Definition at line 49 of file Win32/errors.cpp.
References errorCode_.
Referenced by SystemError().
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(), 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 52 of file Win32/errors.hpp.
Definition at line 51 of file Win32/errors.hpp.
Referenced by errorCode(), errorCodeAsHex(), and errorDescription().