共用方式為


CArchiveException Class

Represents a serialization exception condition

class CArchiveException : public CException

Remarks

The CArchiveException class includes a public data member that indicates the cause of the exception.

CArchiveException objects are constructed and thrown inside CArchive member functions. You can access these objects within the scope of a CATCH expression. The cause code is independent of the operating system. For more information about exception processing, see Exception Handling (MFC).

Requirements

Header: afx.h

See Also

Concepts

CArchiveException Members

CException Class

Hierarchy Chart

CArchive Class

AfxThrowArchiveException

Exception Processing