summaryrefslogtreecommitdiffstats
path: root/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
diff options
context:
space:
mode:
Diffstat (limited to 'zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java')
-rw-r--r--zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
index c44f9ee..1b90fed 100644
--- a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
+++ b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/service/SdnServiceConsumer.java
@@ -22,16 +22,17 @@ import org.glassfish.jersey.client.ClientConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import java.io.IOException;
public class SdnServiceConsumer {
private static final Logger logger = LoggerFactory.getLogger(SdnServiceConsumer.class.getName());
- public static ISdnControllerService getSdnConProxy(String url) throws Exception {
+ public static ISdnControllerService getSdnConProxy(String url) throws IOException {
return ConsumerFactory.createConsumer(url, new ClientConfig().register(JacksonJsonProvider.class),
ISdnControllerService.class);
}
- public static MsbService getMsbRegisterService(String url) throws Exception {
+ public static MsbService getMsbRegisterService(String url) throws IOException {
return ConsumerFactory.createConsumer(url, new ClientConfig().register(JacksonJsonProvider.class),
MsbService.class);
}