Author: asoldano
Date: 2013-10-08 11:07:43 -0400 (Tue, 08 Oct 2013)
New Revision: 17984
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/bus/EJB3Client.java
Log:
[JBWS-3716] Reveal hidden exception
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/bus/EJB3Client.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/bus/EJB3Client.java 2013-10-07
09:35:52 UTC (rev 17983)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/bus/EJB3Client.java 2013-10-08
15:07:43 UTC (rev 17984)
@@ -25,6 +25,8 @@
import javax.ejb.Stateless;
import javax.xml.ws.WebServiceRef;
+import org.jboss.logging.Logger;
+
/**
* This class verifies the default bus is not changed by
* basic client use (creation of bus through BusFactory.newInstance().createBus(),
@@ -46,9 +48,14 @@
AbstractClient.testBusCreation();
}
- public void testSOAPConnection(String host) throws BusTestException, Exception
+ public void testSOAPConnection(String host) throws BusTestException
{
- AbstractClient.testSOAPConnection(host);
+ try {
+ AbstractClient.testSOAPConnection(host);
+ } catch (Exception e) {
+ Logger.getLogger(this.getClass()).error("Could not run
'testSOAPConnection'", e);
+ throw new BusTestException(e.getMessage());
+ }
}
public void testWebServiceRef() throws BusTestException
@@ -56,8 +63,13 @@
AbstractClient.testWebServiceRef(port);
}
- public void testWebServiceClient(String host) throws BusTestException, Exception
+ public void testWebServiceClient(String host) throws BusTestException
{
- AbstractClient.testWebServiceClient(host);
+ try {
+ AbstractClient.testWebServiceClient(host);
+ } catch (Exception e) {
+ Logger.getLogger(this.getClass()).error("Could not run
'testWebServiceClient'", e);
+ throw new BusTestException(e.getMessage());
+ }
}
}
Show replies by date