diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/sca-client-rmi')
-rw-r--r-- | sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java b/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java index 07ac0b960c..b170c30045 100644 --- a/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java +++ b/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java @@ -22,7 +22,6 @@ package org.apache.tuscany.sca.client.rmi; import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;
import java.net.URI;
-import java.net.URISyntaxException;
import java.util.List;
import org.apache.tuscany.sca.core.ExtensionPointRegistry;
@@ -43,11 +42,11 @@ public class SCAClientFactoryImpl extends SCAClientFactory { private EndpointRegistry endpointRegistry;
private ExtensionPointRegistry extensionsRegistry;
- public SCAClientFactoryImpl() throws URISyntaxException {
- super(new URI(Node.DEFAULT_DOMAIN_URI));
+ public SCAClientFactoryImpl() throws NoSuchDomainException {
+ super(URI.create(Node.DEFAULT_DOMAIN_URI));
}
- public SCAClientFactoryImpl(URI domainURI) {
+ public SCAClientFactoryImpl(URI domainURI) throws NoSuchDomainException {
super(domainURI);
NodeImpl node = (NodeImpl)NodeFactory.newInstance().createNode(domainURI);
if (node.getExtensionPoints() == null) {
|