resource_exception_policy Struct Reference
[Error Library]

#include <winstl/error/exceptions.hpp>

List of all members.


Detailed Description

A policy class that throws a resource_exception class.

Public Types

Member Types
typedef resource_exception thrown_type
 The thrown type.
typedef ws_dword_t error_code_type

Public Member Functions

Operators
void operator() (char const *reason, error_code_type err) const
 Function call operator, taking two parameters.
void operator() (char const *reason, error_code_type err, LPCTSTR resourceId) const
 Function call operator, taking three parameters.
void operator() (char const *reason, error_code_type err, LPCTSTR resourceId, LPCTSTR resourceType) const
 Function call operator, taking four parameters.

Member Typedef Documentation

The thrown type.


Member Function Documentation

void operator() ( char const *  reason,
error_code_type  err 
) const [inline]

Function call operator, taking two parameters.

void operator() ( char const *  reason,
error_code_type  err,
LPCTSTR  resourceId 
) const [inline]

Function call operator, taking three parameters.

void operator() ( char const *  reason,
error_code_type  err,
LPCTSTR  resourceId,
LPCTSTR  resourceType 
) const [inline]

Function call operator, taking four parameters.


The documentation for this struct was generated from the following file:

Generated on Thu Jun 10 08:59:21 2010 for STLSoft by  doxygen 1.5.6