home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CException

CObject
   |
   +--CException

   in AFX.H
Direct Known Subclasses:
CArchiveException, CDBException, CDaoException, CFileException, CInternetException, COleDispatchException, COleException, CSimpleException

class CException
extends CObject

Exceptions


Field Summary
 static const AFX_CORE_DATA CRuntimeClass classCException
          
 BOOL m_bAutoDelete
          
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CException( BOOL bAutoDelete )
          
CException()
          
virtual ~CException()
          
 
Method Summary
 void Delete()
          
 virtual BOOL GetErrorMessage( LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = 0 )
          
 virtual CRuntimeClass* GetRuntimeClass() const
          
 virtual int ReportError( UINT nType = MB_OK, UINT nMessageID = 0 )
          
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

classCException

public static const AFX_CORE_DATA CRuntimeClass classCException;

m_bAutoDelete

public BOOL m_bAutoDelete;


Constructor Detail

CException

public CException( BOOL bAutoDelete );

CException

public CException();

~CException

public virtual ~CException();


Method Detail

Delete

public void Delete();

GetErrorMessage

public virtual BOOL GetErrorMessage( LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = 0 );

GetRuntimeClass

public virtual CRuntimeClass* GetRuntimeClass() const;

ReportError

public virtual int ReportError( UINT nType = MB_OK, UINT nMessageID = 0 );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD