JAL-1759 code fix to enable testng ant task compile and run
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 10 Jul 2015 10:06:31 +0000 (11:06 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 10 Jul 2015 10:06:31 +0000 (11:06 +0100)
src/jalview/bin/JalviewLite.java

index ae5c63f..8a9c54b 100644 (file)
@@ -69,7 +69,6 @@ import java.util.List;
 import java.util.StringTokenizer;
 import java.util.Vector;
 
-import netscape.javascript.JSException;
 import netscape.javascript.JSObject;
 
 /**
@@ -1533,7 +1532,7 @@ public class JalviewLite extends Applet implements
         {
           notFailed = true;
         }
-      } catch (JSException jsex)
+      } catch (Exception jsex)
       {
         System.err.println("Attempt " + tries
                 + " to access LiveConnect javascript failed.");