From: tupshin Date: Mon, 22 Mar 2004 02:59:04 +0000 (+0000) Subject: make imagenotfound report file path X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=66204595a29d1ac52c97211a6567d1f0b76234a9 make imagenotfound report file path darcs-hash:20040322025904-a9258-0ab9dcced67711b1d9c719c25f575457560ebbf3.gz --- diff --git a/src/org/ibex/Box.java b/src/org/ibex/Box.java index 313cefa..e8c3d35 100644 --- a/src/org/ibex/Box.java +++ b/src/org/ibex/Box.java @@ -177,7 +177,7 @@ public final class Box extends JSScope implements Scheduler.Task { // as external events have occured, check the state of box if (texture != null) { if (texture.isLoaded) { minwidth = min(texture.width, maxwidth); minheight = min(texture.height, maxheight); } - else { JS res = texture.stream; texture = null; throw new JSExn("image not found: "+res); } + else { JS res = texture.stream; texture = null; throw new JSExn("image not found: "+res.unclone()); } } else { Log.warn(Box.class, "perform() called with null texture"); }