org.hippoecm.hst.core.container
Interface PageErrorHandler

All Known Implementing Classes:
DefaultPageErrorHandler

public interface PageErrorHandler

PageErrorHandler

When a valve meets component errors, error handling can be delegated to a PageErrorHandler.

Version:
$Id: PageErrorHandler.java 21593 2010-02-09 12:18:43Z wko $

Nested Class Summary
static class PageErrorHandler.Status
          Processing status of page error handler.
 
Method Summary
 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 as HstResponse.forward(String) or HstResponse.sendRedirect(String).

Parameters:
pageErrors -
hstRequest -
hstResponse -
Returns:


Copyright © 2008-2012 Hippo. All Rights Reserved.