From: Charles Ofoegbu Date: Mon, 17 Nov 2014 16:52:32 +0000 (+0000) Subject: Undo changes to JabaWsServerQuery.java X-Git-Tag: Jalview_2_9~140^2~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=47c72d35e5716a194ef2396cd1e6b81a91cbb0ea;p=jalview.git Undo changes to JabaWsServerQuery.java --- 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.