From 47c72d35e5716a194ef2396cd1e6b81a91cbb0ea Mon Sep 17 00:00:00 2001 From: Charles Ofoegbu Date: Mon, 17 Nov 2014 16:52:32 +0000 Subject: [PATCH] Undo changes to JabaWsServerQuery.java --- src/jalview/ws/jws2/JabaWsServerQuery.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/jalview/ws/jws2/JabaWsServerQuery.java b/src/jalview/ws/jws2/JabaWsServerQuery.java index 6cca61b..606d0e5 100644 --- a/src/jalview/ws/jws2/JabaWsServerQuery.java +++ b/src/jalview/ws/jws2/JabaWsServerQuery.java @@ -24,15 +24,12 @@ 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. -- 1.7.10.2