From 9ac8fcae71e55605b90aba1306cc51d847b5bb7e Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 18 Aug 2010 15:12:29 +0000 Subject: Update to check for ServiceRuntimeException git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@986728 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java | 4 ++-- 1 file 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()); } -- cgit v1.2.3