Author: bfitzpat
Date: 2012-05-16 11:23:08 -0400 (Wed, 16 May 2012)
New Revision: 41072
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java
Log:
JBIDE-11294 - working around URL issue in a separate spot
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java 2012-05-16
15:02:26 UTC (rev 41071)
+++
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java 2012-05-16
15:23:08 UTC (rev 41072)
@@ -1858,7 +1858,11 @@
JBossWSUIPlugin.PLUGIN_ID,
JBossWSUIMessages.JAXRSWSTestView_Exception_Status + e.getLocalizedMessage());
status.setResultsText(e.toString());
- JBossWSUIPlugin.log(e);
+ // this fix is to address JBIDE-11294 and the fact that we shouldn't actually log
this exception from deep
+ // within the WS API.
+ if ((!e.getLocalizedMessage().contains("Unsupported endpoint address:
REPLACE_WITH_ACTUAL_URL"))) { //$NON-NLS-1$
+ JBossWSUIPlugin.log(e);
+ }
return status;
}
Show replies by date