21 #if !defined(ZIPARCHIVE_ZIPEXCEPTION_DOT_H)
22 #define ZIPARCHIVE_ZIPEXCEPTION_DOT_H
26 #pragma warning( push )
27 #pragma warning (disable:4702) // disable "Unreachable code" warning in Throw function in the Release mode
28 #if defined ZIP_HAS_DLL
29 #pragma warning( disable : 4251 ) // needs to have dll-interface to be used by clients of class
30 #pragma warning( disable : 4275 ) // non dll-interface used as base for dll-interface class
35 #include "ZipString.h"
36 #include "ZipBaseException.h"
37 #include "ZipExport.h"
84 CZipException(
int iCause = genericError, LPCTSTR lpszZipName = NULL);
86 #pragma warning (disable : 26432)
95 #ifdef _ZIP_ENABLE_ERROR_DESCRIPTION
103 CZipString GetErrorDescription();
124 ZBOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError, UINT* = NULL);
126 #endif //_ZIP_ENABLE_ERROR_DESCRIPTION
167 #ifdef _ZIP_USE_LOCKING
193 #ifdef _ZIP_ENABLE_ERROR_DESCRIPTION
207 CZipString GetInternalErrorDescription(
int iCause,
bool bNoLoop =
false);
216 CZipString GetSystemErrorDescription();
219 #endif //_ZIP_ENABLE_ERROR_DESCRIPTION
221 #if defined _MFC_VER && defined _ZIP_IMPL_MFC
227 #pragma warning( pop )
230 #endif // !defined(ZIPARCHIVE_ZIPEXCEPTION_DOT_H)