This documentation is archived and is not being maintained.

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

Show: