2003/09/29 05:15:27
authoremile <emile@xwt.org>
Fri, 30 Jan 2004 07:38:46 +0000 (07:38 +0000)
committeremile <emile@xwt.org>
Fri, 30 Jan 2004 07:38:46 +0000 (07:38 +0000)
darcs-hash:20040130073846-22ae6-20af1071f0c93fee51f4794574b0642d756b14e4.gz

src/org/xwt/util/CAB.java

index b76337d..a1c795e 100644 (file)
@@ -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) {