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.

class CResourceException : public CSimpleException  

Public Constructors

NameDescription
CResourceException::CResourceExceptionConstructs a CResourceException object.

No further qualification is necessary or possible.

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

CObject

CException

CSimpleException

CResourceException

Header: afxwin.h

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).

CException Class
Hierarchy Chart

Show: