I have the following try/catch block:
try
{
netscape.javascript.JSObject.getWindow(this.applet ).eval("ClkExcept(" + nId.toString() + ")");
}catch(netscape.javascript.JSException e){}
Which, for as long as I have compiled (until recently) compiled fine. However, when I recently had to recompile the classes containing this code because of an unrelated issue, I now get a message from the compiler stating that exception netscape.javascript.JSException is never thrown in body of corresponding try statement. I am attempting to use the latest 1.3.1_XX SDK (I must compile with some build of 1.3.1), but have run into this compiler message with all builds of 1.3.1 that I have tried. All documentation I can locate for the netscape.javascript.JSObject class states that the GetWindow() function can throw an exception of type netscape.javascript.JSException.
Has anyone seen this before, or does anyone have any suggestions on how to get the compiler working correctly?