aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-08-07 17:29:20 +0530
committeranushadasari <danush10@in.ibm.com>2019-08-07 17:29:36 +0530
commitf75a21abd69e73982eb43ccfa314f8f1436dcabf (patch)
tree31e5c2bc8f66771904ab220197c938891150f133
parentebcc0756939e3883d91c74527fb6b5be813cfcd6 (diff)
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 <danush10@in.ibm.com>
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java2
1 files changed, 1 insertions, 1 deletions
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);
}