Examples of generalLog()


Examples of evolaris.framework.sys.business.exception.BugException.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);
    BugException e = (BugException) exception;
    e.generalLog(userName);
    String message = e.getUserMessage();
    req.setAttribute("userMessage",message)// may be null => page has to prepare a default
    return mapping.findForward("bugErrorPage");
  }
}
View Full Code Here

Examples of evolaris.framework.sys.business.exception.ConfigurationException.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);
    ConfigurationException e = (ConfigurationException) exception;
    e.generalLog(userName);
    req.setAttribute("userMessage",e.getUserMessage());
    return mapping.findForward("configurationErrorPage");
  }

}
View Full Code Here

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

Examples of evolaris.framework.sys.business.exception.InteractionException.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);
    InteractionException e = (InteractionException) exception;
    e.generalLog(userName);
    req.setAttribute("userMessage",e.getUserMessage());
    req.setAttribute("position", e.getPosition());
    return mapping.findForward("interactionErrorPage");
  }
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.