다음을 통해 공유


CArchiveException Class

Represents a serialization exception condition

class CArchiveException : public CException

Members

Public Constructors

Name

Description

CArchiveException::CArchiveException

Constructs a CArchiveException object.

Public Data Members

Name

Description

CArchiveException::m_cause

Indicates the exception cause.

CArchiveException::m_strFileName

Specifies the name of the file for this exception condition.

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).

Inheritance Hierarchy

CObject

CException

CArchiveException

Requirements

Header: afx.h

See Also

Reference

CException Class

Hierarchy Chart

CArchive Class

AfxThrowArchiveException

Other Resources

Exception Processing