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

Win32 API error. More...

#include <errors.hpp>

Inheritance diagram for Confdump::System::Win32::SystemError:
Confdump::RuntimeError

List of all members.

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_

Detailed Description

Win32 API error.

Definition at line 35 of file Win32/errors.hpp.


Constructor & Destructor Documentation

Confdump::System::Win32::SystemError::SystemError ( DWORD  rc,
QString  action 
)

Definition at line 40 of file Win32/errors.cpp.


Member Function Documentation

The raw DWORD value.

Definition at line 42 of file Win32/errors.hpp.

References errorCode_.

hresult() as a 0x... string

Definition at line 44 of file Win32/errors.cpp.

References errorCode_.

Referenced by SystemError().

FormatMessage() output.

Definition at line 49 of file Win32/errors.cpp.

References errorCode_.

Referenced by SystemError().

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 52 of file Win32/errors.hpp.

Definition at line 51 of file Win32/errors.hpp.

Referenced by errorCode(), errorCodeAsHex(), and errorDescription().


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