AfxThrowArchiveException 

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

Remarks

Throws an archive exception.

See Also   CArchiveException, THROW