List of usage examples for org.springframework.web HttpSessionRequiredException printStackTrace
public void printStackTrace()
From source file:org.capelin.mvc.controller.CatalogRecordController.java
@Override protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception { ModelAndView mav;/*from www .ja v a 2 s. c o m*/ try { mav = super.handleRequestInternal(request, response); } catch (HttpSessionRequiredException ex) { mav = defaultError("Session has expired!", ex); } catch (RuntimeException ex) { ex.printStackTrace(); mav = defaultError("Runtime Error!", ex); } return mav; }