Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body
Issue-ID: CCSDK-1531
Change-Id: I64421278bf413954eb6ce5456fcd4b6766655dc6
Signed-off-by: anushadasari <danush10@in.ibm.com>
return userid;
}
- private static String getUserIdFromCookie(HttpServletRequest request) throws Exception {
+ private static String getUserIdFromCookie(HttpServletRequest request){
String userId = "";
Cookie[] cookies = request.getCookies();
Cookie userIdcookie = null;