The name of the zip file where the error occurred.
*/
CZipStringm_szFileName;
/**
The codes of errors thrown by the ZipArchive library
*/
enumZipErrors
{
noError,///< no error
// 1 - 42 reserved for errno (from STL) values - used only in non-MFC versions
// 43 - 99 reserved
generic=100,///< unknown error
badZipFile,///< damaged or not a zip file
badCrc,///< crc mismatched
noCallback,///< no disk-spanning callback functor set
aborted,///< callback functor's method Callback returned \c false while disk change in the disk-spanning archive
abortedAction,///< callback functor's method Callback returned \c false in CZipArchive class members: AddNewFile, ExtractFile, TestFile, DeleteFile or DeleteFiles
abortedSafely,///< the same as above, you may be sure that the operation was successfully completed before or it didn't cause any damage in the archive (break when counting before deleting files; see CZipArchive::cbDeleteCnt)
nonRemovable,///< the disk selected for pkzipSpan archive is non removable
tooManyVolumes,///< limit of the maximum volumes reached (999)
tooLongFileName,///< the filename of the file added to the archive is too long
badPassword,///< incorrect password set for the file being decrypted
dirWithSize,///< during testing: found the directory with the size greater than 0
internal,///< internal error
notRemoved,///< error while removing a file (under Windows call GetLastError() to find out more)
notRenamed,///< error while renaming a file (under Windows call GetLastError() to find out more)
platfNotSupp,///< the platform that the zip file is being created for is not supported
cdirNotFound,///< the central directory was not found in the archive (it is thrown also when the last disk of multi-disk archive is not in the drive when opening the archive)
streamEnd=500,///< zlib library error
needDict,///< zlib library error
errNo,///< zlib library error
streamError,///< zlib library error
dataError,///< zlib library error
memError,///< zlib library error thrown by CZipMemFile as well
bufError,///< zlib library error
versionError,///< zlib library error
};
/**
A cause of the error - takes one of the #ZipErrors enumeration codes.
*/
intm_iCause;
virtual~CZipException();
protected:
#ifdef ZIP_ENABLE_ERROR_DESCRIPTION
/**
Return the error description
\param iCause : error number
\param bNoLoop: if \c true tells not to search for en error description,