-// Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright (C) 2003 Adam Megacz <adam@xwt.org> all rights reserved.
+//
+// You may modify, copy, and redistribute this code under the terms of
+// the GNU Library Public License version 2.1, with the exception of
+// the portion of clause 6a after the semicolon (aka the "obnoxious
+// relink clause")
+
package org.xwt.util;
import java.io.*;
try {
f.read(dis);
} catch (CFFOLDER.UnsupportedCompressionTypeException ucte) {
- throw new IOException(ucte.toString());
+ throw ucte;
}
}
}
}
- public static class BogusHeaderException extends Exception {}
+ public static class BogusHeaderException extends IOException {}
}
/** Encapsulates a CFFOLDER entry */
}
}
- public static class UnsupportedCompressionTypeException extends Exception {
+ public static class UnsupportedCompressionTypeException extends IOException {
private int compressionType;
UnsupportedCompressionTypeException(int type) {