Package evolaris.framework.sys.business.exception

Examples of evolaris.framework.sys.business.exception.InputException.generalLog()


  @Override
  public ActionForward execute(Exception exception, ExceptionConfig arg1, ActionMapping mapping, ActionForm arg3, HttpServletRequest req, HttpServletResponse arg5) throws ServletException {
    String userName = req.getUserPrincipal() == null ? "`ANONYMOUS USER`" : req.getUserPrincipal().getName().toLowerCase();   
    correctStrutsLocale(req);
    InputException e = (InputException) exception;
    e.generalLog(userName);
    req.setAttribute("userMessage",e.getUserMessage() == null ? "" : e.getUserMessage());
    return mapping.findForward("inputErrorPage");
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.