org.apache.beehive.netui.pageflow.handler
Interface ExceptionsHandler

All Superinterfaces:
Handler
All Known Implementing Classes:
DefaultExceptionsHandler

public interface ExceptionsHandler
extends Handler

Handler for exception processing.


Method Summary
 void exposeException(Throwable ex, ActionMapping actionMapping, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
           
 ActionForward handleException(Throwable ex, ActionMapping actionMapping, String actionName, ActionForm form, FlowController flowController, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
           
 void sendUnhandledExceptionError(Throwable ex, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
           
 Throwable unwrapException(Throwable ex)
           
 
Methods inherited from interface Handler
init, reinit
 

Method Detail

handleException

ActionForward handleException(Throwable ex,
                              ActionMapping actionMapping,
                              String actionName,
                              ActionForm form,
                              FlowController flowController,
                              HttpServletRequest request,
                              HttpServletResponse response,
                              ServletContext servletContext)
                              throws Exception
Throws:
Exception

unwrapException

Throwable unwrapException(Throwable ex)

exposeException

void exposeException(Throwable ex,
                     ActionMapping actionMapping,
                     HttpServletRequest request,
                     HttpServletResponse response,
                     ServletContext servletContext)

sendUnhandledExceptionError

void sendUnhandledExceptionError(Throwable ex,
                                 HttpServletRequest request,
                                 HttpServletResponse response,
                                 ServletContext servletContext)