summaryrefslogtreecommitdiffstats
path: root/appc-adapters
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-07-25 21:31:56 +0530
committeranusha dasari <danush10@in.ibm.com>2019-07-26 05:36:49 +0000
commitb3722a41430dce2264c61a2a9eb61de357802a9c (patch)
treebe10d894b1a28eabd065af4e76778f10241ecf5e /appc-adapters
parentb14db107c5dd7eadbfecde037ad68633775502de (diff)
SonarFix-Remove declaration of thrown exception
Remove the declaration of thrown exception 'org.onap.appc.exceptions.APPCException', as it cannot be thrown from method's body. Issue-ID: APPC-1664 Change-Id: I0c66da105d735b4ac97ee35d1e6bea122be80722 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'appc-adapters')
-rw-r--r--appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java
index ee25ad01c..81a939e3f 100644
--- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java
+++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java
@@ -162,7 +162,7 @@ public class CreateSnapshot extends ProviderServerOperation {
}
private Image createSnapshotNested(Image SnapShot, RequestContext RcContext, VMURL vm, String vmUrl,
- String identStr, SvcLogicContext ctx) throws APPCException {
+ String identStr, SvcLogicContext ctx){
String msg;
Context context = null;
String tenantName = "Unknown";// this variable is also used in catch