summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Handle.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index ef5aa80..b875f3e 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Handle.cc,v 1.73 2004-11-27 21:46:04 pixel Exp $ */
+/* $Id: Handle.cc,v 1.74 2004-12-23 02:30:34 pixel Exp $ */
#include <stdio.h>
#include <string.h>
@@ -421,7 +421,7 @@ ssize_t Handle::uread(void * buf, size_t count) {
#endif
int err = gzread(zfile, buf, count);
if (err == -1) {
- gzerror(zfile, &err);
+ throw GeneralException(String("Error reading zstream: ") + gzerror(zfile, &err));
if (err == Z_ERRNO) {
return -1;
} else {