leon.view.web.struts.action
Class LyStrutsExceptionHandler
java.lang.Object
org.apache.struts.action.ExceptionHandler
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
|
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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyStrutsExceptionHandler
public LyStrutsExceptionHandler()
- Default constructor without parameters.
This constructor should be kept for Java reflection.
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 handleae
- The ExceptionConfig corresponding to the exceptionmapping
- The ActionMapping we are processingformInstance
- The ActionForm we are processingrequest
- The servlet request we are processingresponse
- 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
Website: W4 S.A., contact us: support@w4global.com