共用方式為


CFileException Members

Base Class Members

CObject Members

CException Members

Data Members

m_cause

Contains portable code corresponding to the exception cause.

m_lOsError

Contains the related operating-system error number.

m_strFileName

Contains the name of the file for this exception.

Construction

CFileException

Constructs a CFileException object.

Methods

ErrnoToException

Returns cause code corresponding to a run-time error number.

GetErrorMessage

Retrieves the message describing an exception.

OsErrorToException

Returns a cause code corresponding to an operating system error code.

ThrowErrno

Throws a file exception based on a runtime error number.

ThrowOsError

Throws a file exception based on an operating system error number.

See Also

Reference

CFileException Class

Hierarchy Chart