1 // ZipException.h: interface for the ZipException class.
3 //////////////////////////////////////////////////////////////////////
5 #ifndef ZIPEXCPTN_HXX_INCLUDED
6 #define ZIPEXCPTN_HXX_INCLUDED
10 //------------------------------------------
13 class RuntimeException
: public std::exception
16 RuntimeException(int Error
);
17 virtual ~RuntimeException() throw();
19 int GetErrorCode() const;
25 //------------------------------------------
28 class ZipException
: public RuntimeException
31 ZipException(int Error
);
33 virtual const char* what() const throw();
36 //------------------------------------------
39 class Win32Exception
: public RuntimeException
42 Win32Exception(int Error
);
43 virtual ~Win32Exception() throw();
45 virtual const char* what() const throw();
51 //------------------------------------------
54 class ZipContentMissException
: public ZipException
57 ZipContentMissException(int Error
);
60 //------------------------------------------
63 class AccessViolationException
: public Win32Exception
66 AccessViolationException(int Error
);
69 //------------------------------------------
72 class IOException
: public Win32Exception
75 IOException(int Error
);