CArchiveException( int cause = CArchiveException::none );
cause
An enumerated type variable that indicates the reason for the exception. See the m_cause data member for a list of the enumerators.
Constructs a CArchiveException object, storing the cause code in the object. You can create a CArchiveException object on the heap and throw it yourself or let AfxThrowArchiveException handle it for you.
Do not use this constructor directly, but call the global function AfxThrowArchiveException.