Share via


CMemoryException::CMemoryException

Constructs a CMemoryException object.

CMemoryException( );

Remarks

Do not use this constructor directly, but rather call the global function AfxThrowMemoryException. This global function can succeed in an out-of-memory situation because it constructs the exception object in previously allocated memory. For more information about exception processing, see the article Exceptions.

Requirements

Header: afx.h

See Also

Reference

CMemoryException Class

Hierarchy Chart

Other Resources

CMemoryException Members

Exception Processing