Merge "Sonar Minor: Remove the thrown runtime exception."
authorLi Zi <li.zi30@zte.com.cn>
Wed, 31 Jan 2018 00:40:57 +0000 (00:40 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 31 Jan 2018 00:40:57 +0000 (00:40 +0000)
esr-mgr/src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java

index d4c4bc4..a9b89a5 100644 (file)
@@ -46,7 +46,7 @@ public class ThirdpartySdncRegisterProvider implements MessageBodyWriter<EsrThir
     @Override
     public void writeTo(EsrThirdpartySdncDetail t, Class<?> type, Type genericType, Annotation[] annotations,
             MediaType mediaType, MultivaluedMap<String, Object> 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"));