summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestServiceImpl.java
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-11-07 17:12:30 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-11-07 17:12:30 +0000
commit7a70aef7362feb8e8a86933853f42258d3b0694c (patch)
tree3c440148f2cb45492ed0dfb3120e97cc0dd7fe47 /sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestServiceImpl.java
parent48c5ba9688ac64c3824aaa25fbe07d14046942ea (diff)
Add test for abstract exceptions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1032313 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestServiceImpl.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestServiceImpl.java b/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestServiceImpl.java
index 3cc8ca0bce..dc51ae0bd9 100644
--- a/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestServiceImpl.java
+++ b/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestServiceImpl.java
@@ -21,6 +21,8 @@ package jtest.impl;
import org.osoa.sca.annotations.Service;
+import jtest.AbstractException;
+import jtest.ConcreteException;
import jtest.TestAbstract;
import jtest.TestService;
@@ -35,4 +37,8 @@ public class TestServiceImpl implements TestService {
System.out.println("data2 is instance of class " + data2.getClass().getName());
System.out.println(data1.getGreeting() + " " + data2.getGreeting());
}
+
+ public void throwAbstract() throws AbstractException {
+ throw new ConcreteException();
+ }
}