AfxThrowArchiveException

Throws an archive exception.

void AfxThrowArchiveException( 
   int cause, 
   LPCTSTR lpszArchiveName  
);

Parameters

  • cause
    Specifies an integer that indicates the reason for the exception. For a list of the possible values, see CArchiveException::m_cause.

  • lpszArchiveName
    Points to a string containing the name of the CArchive object that caused the exception (if available).

Requirements

Header: afx.h

See Also

Reference

CArchiveException Class

THROW (MFC)

Concepts

MFC Macros and Globals