Undo changes to JabaWsServerQuery.java
authorCharles Ofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 17 Nov 2014 16:52:32 +0000 (16:52 +0000)
committerCharles Ofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 17 Nov 2014 16:52:32 +0000 (16:52 +0000)
src/jalview/ws/jws2/JabaWsServerQuery.java

index 6cca61b..606d0e5 100644 (file)
 package jalview.ws.jws2;
 
 import jalview.bin.Cache;
-import jalview.gui.Desktop;
 import jalview.ws.jws2.jabaws2.Jws2Instance;
 import jalview.ws.jws2.jabaws2.Jws2InstanceFactory;
 
 import java.util.HashSet;
 import java.util.Set;
 
-import javax.swing.JOptionPane;
-
 import compbio.data.msa.Category;
 import compbio.data.msa.JABAService;
 import compbio.ws.client.Jws2Client;
@@ -134,13 +131,8 @@ public class JabaWsServerQuery implements Runnable
             // svccategories.toString());
 
           }
-        } catch (javax.xml.ws.WebServiceException ex)
+        } catch (Exception ex)
         {
-          JOptionPane
-                  .showInternalMessageDialog(
-                          Desktop.desktop,
-                          "Exception whilst trying to access the webservice registry:",
-                          "Webservice glitch", JOptionPane.WARNING_MESSAGE);
           System.err.println("Exception whilst trying to get at registry:");
           ex.printStackTrace();
           // if that failed, then we are probably working with a JABAWS1 server.