org.hippoecm.hst.core.container
Class DefaultPageErrorHandler

java.lang.Object
  extended by org.hippoecm.hst.core.container.DefaultPageErrorHandler
All Implemented Interfaces:
PageErrorHandler

public class DefaultPageErrorHandler
extends Object
implements PageErrorHandler

DefaultPageErrorHandler

Version:
$Id: DefaultPageErrorHandler.java 23763 2010-08-25 08:39:49Z aschrijvers $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.hippoecm.hst.core.container.PageErrorHandler
PageErrorHandler.Status
 
Field Summary
protected static org.slf4j.Logger log
           
 
Constructor Summary
DefaultPageErrorHandler()
           
 
Method Summary
 PageErrorHandler.Status handleComponentExceptions(PageErrors pageErrors, HstRequest hstRequest, HstResponse hstResponse)
          Handles the exceptions generated by page or components.
protected  void logWarningsForEachComponentExceptions(PageErrors pageErrors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.slf4j.Logger log
Constructor Detail

DefaultPageErrorHandler

public DefaultPageErrorHandler()
Method Detail

handleComponentExceptions

public PageErrorHandler.Status handleComponentExceptions(PageErrors pageErrors,
                                                         HstRequest hstRequest,
                                                         HstResponse hstResponse)
Description copied from interface: PageErrorHandler
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).

Specified by:
handleComponentExceptions in interface PageErrorHandler
Returns:

logWarningsForEachComponentExceptions

protected void logWarningsForEachComponentExceptions(PageErrors pageErrors)


Copyright © 2008-2012 Hippo. All Rights Reserved.