summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common
diff options
context:
space:
mode:
authorDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-03 12:02:31 +0530
committerDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-03 12:04:03 +0530
commit3582f4e8163c117538be29767465e783b2890a8f (patch)
treec3dc00fdcd642a816c626c6df3f0b66bdb49b3a8 /ecomp-portal-BE-common
parent2115ee55bdbcc81e80f6ffb5777113600de37208 (diff)
Issue-Remove the declaration of thrown exception
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>
Diffstat (limited to 'ecomp-portal-BE-common')
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java
index 46903284..d36cf6cb 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/controller/sessionmgt/SessionCommunicationController.java
@@ -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;