public interface PageErrorHandler
When a valve meets component errors, error handling can be delegated to a PageErrorHandler.
Modifier and Type | Interface and Description |
---|---|
static class |
PageErrorHandler.Status
Processing status of page error handler.
|
Modifier and Type | Method and Description |
---|---|
PageErrorHandler.Status |
handleComponentExceptions(PageErrors pageErrors,
HstRequest hstRequest,
HstResponse hstResponse)
Handles the exceptions generated by page or components.
|
PageErrorHandler.Status handleComponentExceptions(PageErrors pageErrors, HstRequest hstRequest, HstResponse hstResponse)
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 as HstResponse.forward(String)
or HstResponse.sendRedirect(String)
.
pageErrors
- hstRequest
- hstResponse
- Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.