Issue-Remove the declaration of thrown exception 97/75197/1
authorDriptaroop Das <driptaroop.das@in.ibm.com>
Thu, 3 Jan 2019 06:32:31 +0000 (12:02 +0530)
committerDriptaroop Das <driptaroop.das@in.ibm.com>
Thu, 3 Jan 2019 06:34:03 +0000 (12:04 +0530)
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

Issue-ID: PORTAL-501
Change-Id: I9724782aeab6151e6a143e674e123c62e34870e8
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java

index 4690328..d36cf6c 100644 (file)
@@ -3,6 +3,8 @@
  * ONAP Portal
  * ===================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2019 IBM.
  * ===================================================================
  *
  * Unless otherwise specified, all software contained herein is licensed
@@ -81,7 +83,7 @@ public class SessionCommunicationController  extends EPRestrictedRESTfulBaseCont
        @ApiOperation(value = "Extends session timeout values for all on-boarded applications.",
     response = Boolean.class)
        @RequestMapping(value={"/extendSessionTimeOuts"}, method = RequestMethod.POST)
-       public Boolean extendSessionTimeOuts(HttpServletRequest request, HttpServletResponse response, @RequestParam String sessionMap) throws Exception {
+       public Boolean extendSessionTimeOuts(HttpServletRequest request, HttpServletResponse response, @RequestParam String sessionMap) {
                manageService.extendSessionTimeOuts(sessionMap);
                
                return true;