From: aishkashyap Date: Thu, 11 Jan 2018 07:59:11 +0000 (+0530) Subject: Sonar Minor: Remove the thrown runtime exception. X-Git-Tag: v1.1.0~33^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fesr-server.git;a=commitdiff_plain;h=b1f80cb50d421015a471edfaf2caeb5eca41b1bc;hp=ed26992f976741031237ead3a5dc0565d4318b05 Sonar Minor: Remove the thrown runtime exception. Remove the declaration of thrown runtime exception. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server-parent#resolved=false|severities=MINOR Location: src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java Line No:53 Issue-ID: AAI-624 Change-Id: Ief9b736eebcb1e55bbc61e3a4d223368f97ee19a Signed-off-by: aishkashyap --- diff --git a/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java b/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java index d4c4bc4..a9b89a5 100644 --- a/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java +++ b/esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java @@ -46,7 +46,7 @@ public class ThirdpartySdncRegisterProvider implements MessageBodyWriter type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, OutputStream entityStream) - throws IOException, WebApplicationException { + throws IOException{ String json = new Gson().toJson(t, EsrThirdpartySdncDetail.class); logger.info("the param to register VIM input is:" + json); entityStream.write(json.getBytes("UTF-8"));