LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.struts.action
Class LyStrutsExceptionHandler

java.lang.Object
  extended by org.apache.struts.action.ExceptionHandler
      extended by leon.view.web.struts.action.LyStrutsExceptionHandler

public class LyStrutsExceptionHandler
extends org.apache.struts.action.ExceptionHandler

Type : leon.view.web.struts.LyStrutsExceptionHandler
This handler should be configured with the leonardi actions in the struts-config.xml file with the <exception> tag.


Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyStrutsExceptionHandler()
          Default constructor without parameters.
 
Method Summary
 org.apache.struts.action.ActionForward execute(java.lang.Exception ex, org.apache.struts.config.ExceptionConfig ae, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm formInstance, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle the exception.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyStrutsExceptionHandler

public LyStrutsExceptionHandler()
Default constructor without parameters.
This constructor should be kept for Java reflection.

Method Detail

execute

public org.apache.struts.action.ActionForward execute(java.lang.Exception ex,
                                                      org.apache.struts.config.ExceptionConfig ae,
                                                      org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm formInstance,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws javax.servlet.ServletException
Handle the exception.
Return the ActionForward instance (if any) returned by the called ExceptionHandler.

Overrides:
execute in class org.apache.struts.action.ExceptionHandler
Parameters:
ex - The exception to handle
ae - The ExceptionConfig corresponding to the exception
mapping - The ActionMapping we are processing
formInstance - The ActionForm we are processing
request - The servlet request we are processing
response - The servlet response we are creating
Returns:
the ActionForward instance (if any) returned by the called ExceptionHandler
Throws:
javax.servlet.ServletException - if a servlet exception occurs

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com