|
Windows C++ Library
|
The base class for all exception types that are the result of Win32 API calls. More...
#include <Win32Exception.hpp>
Public Member Functions | |
| Win32Exception (DWORD dwError) | |
| Partial constructor. | |
| Win32Exception (const tchar *pszOperation) | |
| Partial constructor that uses GetLastError for the error code. | |
| Win32Exception (const tstring &strOperation) | |
| Partial constructor that uses GetLastError for the error code. | |
| Win32Exception (DWORD dwError, const tchar *pszOperation) | |
| Full constructor. | |
| Win32Exception (DWORD dwError, const tstring &strOperation) | |
| Full constructor. | |
Public Attributes | |
| DWORD | m_dwError |
| The Win32 error code. | |
Protected Member Functions | |
| Win32Exception () | |
| Default constructor. | |
Static Protected Member Functions | |
| static tstring | Format (const tchar *pszOperation, DWORD dwError) |
| Format the error message. | |
The base class for all exception types that are the result of Win32 API calls.
| WCL::Win32Exception::Win32Exception | ( | DWORD | dwError | ) | [inline] |
Partial constructor.
| WCL::Win32Exception::Win32Exception | ( | const tchar * | pszOperation | ) | [inline] |
Partial constructor that uses GetLastError for the error code.
| WCL::Win32Exception::Win32Exception | ( | const tstring & | strOperation | ) | [inline] |
Partial constructor that uses GetLastError for the error code.
| WCL::Win32Exception::Win32Exception | ( | DWORD | dwError, |
| const tchar * | pszOperation | ||
| ) | [inline] |
Full constructor.
| WCL::Win32Exception::Win32Exception | ( | DWORD | dwError, |
| const tstring & | strOperation | ||
| ) | [inline] |
Full constructor.
| WCL::Win32Exception::Win32Exception | ( | ) | [inline, protected] |
Default constructor.
This should only be used by derived classes that set the error and string directly.
| tstring WCL::Win32Exception::Format | ( | const tchar * | pszOperation, |
| DWORD | dwError | ||
| ) | [inline, static, protected] |
Format the error message.
The Win32 error code.
1.7.6.1