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>
* ONAP Portal
* ===================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* 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
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
@ApiOperation(value = "Extends session timeout values for all on-boarded applications.",
response = Boolean.class)
@RequestMapping(value={"/extendSessionTimeOuts"}, method = RequestMethod.POST)
@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;
manageService.extendSessionTimeOuts(sessionMap);
return true;