APPC-1654 83/91783/2
authoranushadasari <danush10@in.ibm.com>
Sun, 21 Jul 2019 16:52:03 +0000 (22:22 +0530)
committeranusha dasari <danush10@in.ibm.com>
Tue, 23 Jul 2019 07:23:30 +0000 (07:23 +0000)
Remove the declaration of thrown exception 'org.onap.appc.exceptions.APPCException', as it cannot be thrown from method's body.

Issue-ID: APPC-1654
Change-Id: Ib08561aaecf8dea445e0f5ceb3a6d35795dfd8bd
Signed-off-by: anushadasari <danush10@in.ibm.com>
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebootServer.java

index 9877ae3..b1879ce 100644 (file)
@@ -67,7 +67,7 @@ public class RebootServer extends ProviderServerOperation {
         return rebootServer(params, context);
     }
 
-    private Server rebootServer(Map<String, String> params, SvcLogicContext ctx) throws APPCException {
+    private Server rebootServer(Map<String, String> params, SvcLogicContext ctx){
         Server server = null;
         RequestContext requestContext = new RequestContext(ctx);
         requestContext.isAlive();