2003/11/18 10:47:25
[org.ibex.core.git] / src / org / xwt / Picture.java
index 13440f9..426266c 100644 (file)
@@ -57,7 +57,7 @@ public abstract class Picture {
                             if ((b[0] & 0xff) == 'G') p = gif.fromInputStream(pbis, "some picture");
                             else if ((b[0] & 0xff) == 137) p = new PNG().fromInputStream(pbis, "some picture");
                             else if ((b[0] & 0xff) == 0xff) p = Platform.decodeJPEG(pbis, "some picture");
-                            else throw new JS.Exn("couldn't figure out image type from first byte");
+                            else throw new JSExn("couldn't figure out image type from first byte");
                             p.res = r;
                             holder.picture = p;
                             Scheduler.add(callback);