diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-30 07:21:03 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-30 07:21:03 +0000 |
commit | d0fe56f33469dcebe9507f9efad67c13331087fd (patch) | |
tree | 51fab2ae38343b495f307484551ad4f64dce4791 /sca-java-2.x/trunk/itest/scaclient-api-remote | |
parent | df5e4a5691052ed2a829b9e34fb80a4db10d3a75 (diff) |
Update for SCAClientFactory NoSuchDomainException changes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990708 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/scaclient-api-remote')
-rw-r--r-- | sca-java-2.x/trunk/itest/scaclient-api-remote/src/test/java/test/scaclient/SCAClientTestCase.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/itest/scaclient-api-remote/src/test/java/test/scaclient/SCAClientTestCase.java b/sca-java-2.x/trunk/itest/scaclient-api-remote/src/test/java/test/scaclient/SCAClientTestCase.java index 0ae70d6c3f..6dab4d3525 100644 --- a/sca-java-2.x/trunk/itest/scaclient-api-remote/src/test/java/test/scaclient/SCAClientTestCase.java +++ b/sca-java-2.x/trunk/itest/scaclient-api-remote/src/test/java/test/scaclient/SCAClientTestCase.java @@ -73,10 +73,8 @@ public class SCAClientTestCase { service = SCAClientFactory.newInstance(URI.create("nosuchdomain")).getService(HelloworldService.class, "HelloworldComponent");
service.sayHello("petra");
fail();
- } catch (Exception e) {
- if (!(e.getCause() instanceof NoSuchDomainException)) {
- throw e;
- }
+ } catch (NoSuchDomainException e) {
+ //expected
}
}
|