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>
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);
}