Package org.hippoecm.hst.core.container
Interface PageErrorHandler
-
public interface PageErrorHandler
PageErrorHandlerWhen a valve meets component errors, error handling can be delegated to a PageErrorHandler.
- Version:
- $Id$
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PageErrorHandler.Status
Processing status of page error handler.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PageErrorHandler.Status
handleComponentExceptions(PageErrors pageErrors, HstRequest hstRequest, HstResponse hstResponse)
Handles the exceptions generated by page or components.
-
-
-
Method Detail
-
handleComponentExceptions
PageErrorHandler.Status handleComponentExceptions(PageErrors pageErrors, HstRequest hstRequest, HstResponse hstResponse)
Handles the exceptions generated by page or components.An implementation should be aware of the current lifecycle phase by invoking
HstRequest.getLifecyclePhase()
method if it wants to invoke some lifecycle dependent operations such asHstResponse.forward(String)
orHstResponse.sendRedirect(String)
.- Parameters:
pageErrors
-hstRequest
-hstResponse
-
-
-