summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-18 15:12:29 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-18 15:12:29 +0000
commit9ac8fcae71e55605b90aba1306cc51d847b5bb7e (patch)
treeb31c6d13126a99b2bde91fa5c13d043a587e69da
parentbbcf6ca60b233580a44b07779c890b2328a7bbb5 (diff)
Update to check for ServiceRuntimeException
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@986728 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java b/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
index a1a6c4aae0..2aeadc6faf 100644
--- a/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
+++ b/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
@@ -104,7 +104,7 @@ public class ExceptionsTestCase {
// FIXME: what should the response message be for unchecked exceptions with wireFormat.textXML???
Object o = ((ObjectMessage)m).getObject();
assertTrue(o instanceof RuntimeException);
- assertTrue("java.lang.RuntimeException".equals(o.getClass().getName()));
+ assertTrue("org.oasisopen.sca.ServiceRuntimeException".equals(o.getClass().getName()));
assertEquals("bla", ((RuntimeException)o).getMessage());
}
@@ -150,7 +150,7 @@ public class ExceptionsTestCase {
Message m = receiveJMSResponse();
Object o = ((ObjectMessage)m).getObject();
assertTrue(o instanceof RuntimeException);
- assertTrue("java.lang.RuntimeException".equals(o.getClass().getName()));
+ assertTrue("org.oasisopen.sca.ServiceRuntimeException".equals(o.getClass().getName()));
assertEquals("bla", ((RuntimeException)o).getMessage());
}