From 6c2908f049808076b92ebe090ed0f38b2490c8a9 Mon Sep 17 00:00:00 2001 From: emile Date: Fri, 30 Jan 2004 07:38:46 +0000 Subject: [PATCH] 2003/09/29 05:15:27 darcs-hash:20040130073846-22ae6-20af1071f0c93fee51f4794574b0642d756b14e4.gz --- src/org/xwt/util/CAB.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/xwt/util/CAB.java b/src/org/xwt/util/CAB.java index b76337d..a1c795e 100644 --- a/src/org/xwt/util/CAB.java +++ b/src/org/xwt/util/CAB.java @@ -31,7 +31,7 @@ public class CAB { try { f.read(dis); } catch (CFFOLDER.UnsupportedCompressionTypeException ucte) { - throw new IOException(ucte.toString()); + throw ucte; } } @@ -230,7 +230,7 @@ public class CAB { } } - public static class BogusHeaderException extends Exception {} + public static class BogusHeaderException extends IOException {} } /** Encapsulates a CFFOLDER entry */ @@ -285,7 +285,7 @@ public class CAB { } } - public static class UnsupportedCompressionTypeException extends Exception { + public static class UnsupportedCompressionTypeException extends IOException { private int compressionType; UnsupportedCompressionTypeException(int type) { -- 1.7.10.4