summaryrefslogtreecommitdiff
path: root/package/inc/ZipFile.hxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2000-12-04 10:30:09 +0000
committerMartin Gallwey <mtg@openoffice.org>2000-12-04 10:30:09 +0000
commit2056f50eadd8c850f32e5b7c7fa6fc770db16264 (patch)
treeb95b8a2228f84a22c2d69c8650d86494678357e6 /package/inc/ZipFile.hxx
parent8c42ca8d118b0be4ece362f5f06f0c2629e81c75 (diff)
#80556# improved exception handling
Diffstat (limited to 'package/inc/ZipFile.hxx')
-rw-r--r--package/inc/ZipFile.hxx19
1 files changed, 12 insertions, 7 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index 9b5554038257..0d3e6c1da808 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipFile.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mtg $ $Date: 2000-11-29 03:18:48 $
+ * last change: $Author: mtg $ $Date: 2000-12-04 11:30:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -116,7 +116,10 @@ private:
ByteGrabber aGrabber;
com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xStream;
public:
- ZipFile( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > &xInput);
+ ZipFile( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > &xInput)
+ throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException);
+ ZipFile( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > &xInput, sal_Bool bInitialise)
+ throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException);
void updateFromManList(std::vector < ManifestEntry * > &rManList);
virtual ~ZipFile();
@@ -148,10 +151,12 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL entries( )
throw(::com::sun::star::uno::RuntimeException);
private:
- sal_Bool readLOC(const com::sun::star::package::ZipEntry &rEntry);
- ZipEntryImpl* getNthEntry(sal_Int32 nIndex);
- sal_Int32 readCEN();
- sal_Int32 findEND();
+ sal_Bool readLOC(const com::sun::star::package::ZipEntry &rEntry)
+ throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException);
+ sal_Int32 readCEN()
+ throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException);
+ sal_Int32 findEND()
+ throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException);
};
#if 0