org.hippoecm.hst.core.container
Class DefaultPageErrorHandler
java.lang.Object
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 $
Field Summary |
protected static org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.slf4j.Logger log
DefaultPageErrorHandler
public DefaultPageErrorHandler()
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.