Поделиться через


CMemoryException Class

Represents an out-of-memory exception condition.

class CMemoryException : public CSimpleException

Members

Public Constructors

Name

Description

CMemoryException::CMemoryException

Constructs a CMemoryException object.

Remarks

No further qualification is necessary or possible. Memory exceptions are thrown automatically by new. If you write your own memory functions, using malloc, for example, then you are responsible for throwing memory exceptions.

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

Inheritance Hierarchy

CObject

CException

CSimpleException

CMemoryException

Requirements

Header: afx.h

See Also

Reference

CException Class

Hierarchy Chart