Package org.hippoecm.hst.core.container
Interface PageErrorHandler
public interface PageErrorHandler
PageErrorHandler
When a valve meets component errors, error handling can be delegated to a PageErrorHandler.
- Version:
- $Id$
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Processing status of page error handler. -
Method Summary
Modifier and TypeMethodDescriptionhandleComponentExceptions
(PageErrors pageErrors, HstRequest hstRequest, HstResponse hstResponse) Handles the exceptions generated by page or components.
-
Method Details
-
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
-
-