We may be having problems where we know about one JSException class and the VM

is throwing another and they don't end up matching. Let's just catch any
exception thrown when trying to propagate status to JavaScript and log it.
This commit is contained in:
Michael Bayne
2007-02-07 21:30:13 +00:00
parent 371f680ba0
commit ed74fd67ee
@@ -134,8 +134,8 @@ public class GetdownApplet extends JApplet
try {
JSObject.getWindow(GetdownApplet.this).call(
"getdownStatus", new Object[] { message, percent, remaining });
} catch (JSException jse) {
// don't sweat it.
} catch (Throwable t) {
Log.warning("Failed to communicate status to JavaScript: " + t);
}
}
};