Remove the declaration of thrown exception 84/92884/1
authoranushadasari <danush10@in.ibm.com>
Wed, 7 Aug 2019 11:59:20 +0000 (17:29 +0530)
committeranushadasari <danush10@in.ibm.com>
Wed, 7 Aug 2019 11:59:36 +0000 (17:29 +0530)
Remove the declaration of thrown exception 'org.onap.vid.aai.ExceptionWithRequestInfo' which is a runtime exception.

Issue-ID: VID-559
Change-Id: I275d7323d153c70fa515af4a0417fe0910ee451d
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java

index 92a6d5f..7818837 100644 (file)
@@ -577,7 +577,7 @@ public class AsyncInstantiationBusinessLogicImpl implements
         return counter==0 ? name : name + "_" + String.format("%03d", counter);
     }
 
-    private boolean isNameFreeInAai(String name, ResourceType resourceType) throws ExceptionWithRequestInfo {
+    private boolean isNameFreeInAai(String name, ResourceType resourceType){
         return !aaiClient.isNodeTypeExistsByName(name, resourceType);
     }