2003/09/29 05:15:27
[org.ibex.core.git] / 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) {