Subversion Repositories SmartDukaan

Rev

Rev 26022 | Rev 26026 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26022 Rev 26025
Line 325... Line 325...
325
			LOGGER.error("Error : ", profitMandiBusinessException);
325
			LOGGER.error("Error : ", profitMandiBusinessException);
326
			model.addAttribute("response",
326
			model.addAttribute("response",
327
					mvcResponseSender.createResponseString(profitMandiBusinessException.getCode(), false, "/error"));
327
					mvcResponseSender.createResponseString(profitMandiBusinessException.getCode(), false, "/error"));
328
			return "response";
328
			return "response";
329
		} catch (Exception e) {
329
		} catch (Exception e) {
-
 
330
			e.printStackTrace();
330
			model.addAttribute("response",
331
			model.addAttribute("response",
331
					mvcResponseSender.createResponseString("You are not authorised! "
332
					mvcResponseSender.createResponseString("You are not authorised! "
332
							+ "Please contact the team if you feel this is incorrect", false, "/error"));
333
							+ "Please contact the team if you feel this is incorrect", false, "/error"));
333
			return "response";
334
			return "response";
334
		}
335
		}