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 CFileException

CObject
   |
   +--CException
         |
         +--CFileException

   in AFX.H

class CFileException
extends CException


Field Summary
 static const AFX_CORE_DATA CRuntimeClass classCFileException
          
 int m_cause
          
 LONG m_lOsError
          
 CString m_strFileName
          
   
Fields inherited from class CException
classCException, m_bAutoDelete
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CFileException( int cause = CFileException::none, LONG lOsError =-1, LPCTSTR lpszArchiveName = 0 )
          
virtual ~CFileException()
          
 
Method Summary
 static int PASCAL ErrnoToException( int nErrno )
          
 virtual BOOL GetErrorMessage( LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = 0 )
          
 virtual CRuntimeClass* GetRuntimeClass() const
          
 static int PASCAL OsErrorToException( LONG lOsError )
          
 static void PASCAL ThrowErrno( int nErrno, LPCTSTR lpszFileName = 0 )
          
 static void PASCAL ThrowOsError( LONG lOsError, LPCTSTR lpszFileName = 0 )
          
   
Methods inherited from class CException
GetRuntimeClass, Delete, GetErrorMessage, ReportError
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

classCFileException

public static const AFX_CORE_DATA CRuntimeClass classCFileException;

m_cause

public int m_cause;

m_lOsError

public LONG m_lOsError;

m_strFileName

public CString m_strFileName;


Constructor Detail

CFileException

public CFileException( int cause = CFileException::none, LONG lOsError =-1, LPCTSTR lpszArchiveName = 0 );

~CFileException

public virtual ~CFileException();


Method Detail

ErrnoToException

public static int PASCAL ErrnoToException( int nErrno );

GetErrorMessage

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

GetRuntimeClass

public virtual CRuntimeClass* GetRuntimeClass() const;

OsErrorToException

public static int PASCAL OsErrorToException( LONG lOsError );

ThrowErrno

public static void PASCAL ThrowErrno( int nErrno, LPCTSTR lpszFileName = 0 );

ThrowOsError

public static void PASCAL ThrowOsError( LONG lOsError, LPCTSTR lpszFileName = 0 );

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