CResourceException Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CResourceException Class.

Generated when Windows cannot find or allocate a requested resource.

Syntax

class CResourceException : public CSimpleException  

Members

Public Constructors

Name Description
CResourceException::CResourceException Constructs a CResourceException object.

Remarks

No further qualification is necessary or possible.

For more information on using CResourceException, see the article Exception Handling (MFC).

Inheritance Hierarchy

CObject

CException

CSimpleException

CResourceException

Requirements

Header: afxwin.h

CResourceException::CResourceException

Constructs a CResourceException object.

CResourceException();

Remarks

Do not use this constructor directly, but rather call the global function [AfxThrowResourceException](../Topic/Exception%20Processing.md#not_found.md#afxthrowresourceexception. for more information about exceptions, see the article [exception handling (mfc)]---brokenlink--(../topic/exception_handling_in_mfc).

See Also

CException Class
Hierarchy Chart