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 CDBException

CObject
   |
   +--CException
         |
         +--CDBException

   in AFXDB.H

class CDBException
extends CException

CDBException - something gone wrong


Field Summary
 RETCODE m_nRetCode
          
 CString m_strError
          
 CString m_strStateNativeOrigin
          
   
Fields inherited from class CException
classCException, m_bAutoDelete
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CDBException( RETCODE nRetCode = SQL_SUCCESS )
          
virtual ~CDBException()
          
 
Method Summary
 virtual void BuildErrorString( CDatabase* pdb, HSTMT hstmt, BOOL bTrace = TRUE )
          
 void Empty()
          
 virtual BOOL GetErrorMessage( LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = NULL )
          
   
Methods inherited from class CException
GetRuntimeClass, Delete, GetErrorMessage, ReportError
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_nRetCode

public RETCODE m_nRetCode;

m_strError

public CString m_strError;

m_strStateNativeOrigin

public CString m_strStateNativeOrigin;


Constructor Detail

CDBException

public CDBException( RETCODE nRetCode = SQL_SUCCESS );

~CDBException

public virtual ~CDBException();


Method Detail

BuildErrorString

public virtual void BuildErrorString( CDatabase* pdb, HSTMT hstmt, BOOL bTrace = TRUE );

Empty

public void Empty();

GetErrorMessage

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

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