Confdump Agent  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Public Member Functions | Public Attributes
Confdump::System::Wmi::Win32Error Class Reference

Win32 base exception class, usually not thrown directly. More...

#include <errors.hpp>

Inheritance diagram for Confdump::System::Wmi::Win32Error:
Confdump::RuntimeError Confdump::System::Wmi::ComError Confdump::System::Wmi::WmiError

List of all members.

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_

Detailed Description

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.


Constructor & Destructor Documentation

Confdump::System::Wmi::Win32Error::Win32Error ( QString  message,
HRESULT  hr 
)

Definition at line 33 of file Wmi/errors.cpp.

Definition at line 38 of file Wmi/errors.cpp.


Member Function Documentation

The raw HRESULT value.

Definition at line 42 of file Wmi/errors.cpp.

References hresult_.

Referenced by Confdump::System::Wmi::WbemServices::execQuery().

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]
const char * Confdump::RuntimeError::what ( ) const throw () [virtual, inherited]

Definition at line 38 of file RuntimeError.cpp.

References Confdump::RuntimeError::message_.

Referenced by main().


Member Data Documentation

Definition at line 102 of file Wmi/errors.hpp.

Referenced by hresult(), and hresultAsHex().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends