|
MFC Class Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
CObject
|
+--CException
|
+--CFileException
in AFX.H
| 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 |
public static const AFX_CORE_DATA CRuntimeClass classCFileException;
public int m_cause;
public LONG m_lOsError;
public CString m_strFileName;
| Constructor Detail |
public CFileException( int cause = CFileException::none, LONG lOsError =-1, LPCTSTR lpszArchiveName = 0 );
public virtual ~CFileException();
| Method Detail |
public static int PASCAL ErrnoToException( int nErrno );
public virtual BOOL GetErrorMessage( LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = 0 );
public virtual CRuntimeClass* GetRuntimeClass() const;
public static int PASCAL OsErrorToException( LONG lOsError );
public static void PASCAL ThrowErrno( int nErrno, LPCTSTR lpszFileName = 0 );
public static void PASCAL ThrowOsError( LONG lOsError, LPCTSTR lpszFileName = 0 );
|
MFC Class Library
CppDoc v2.3.1 |
||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||