From f75a21abd69e73982eb43ccfa314f8f1436dcabf Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 7 Aug 2019 17:29:20 +0530 Subject: [PATCH] Remove the declaration of thrown exception 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 --- .../java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java b/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java index 92a6d5fd7..7818837f1 100644 --- a/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java +++ b/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java @@ -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); } -- 2.16.6