org.hippoecm.hst.core.container
Class DefaultPageErrors

java.lang.Object
  extended by org.hippoecm.hst.core.container.DefaultPageErrors
All Implemented Interfaces:
PageErrors

public class DefaultPageErrors
extends Object
implements PageErrors

DefaultPageErrors

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

Field Summary
protected  List<HstComponentException> allExceptions
           
protected  List<KeyValue<HstComponentInfo,Collection<HstComponentException>>> componentExceptions
           
protected  List<HstComponentInfo> componentInfos
           
 
Constructor Summary
DefaultPageErrors(List<KeyValue<HstComponentInfo,Collection<HstComponentException>>> componentExceptions)
           
 
Method Summary
 Collection<HstComponentException> getAllComponentExceptions()
          Returns all component exceptions.
 Collection<HstComponentException> getComponentExceptions(HstComponentInfo componentInfo)
          Returns collection of HstComponentException caused by the specific component.
 Collection<HstComponentInfo> getComponentInfos()
          Returns collection of HstComponentInfo which causes exceptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

componentExceptions

protected List<KeyValue<HstComponentInfo,Collection<HstComponentException>>> componentExceptions

componentInfos

protected List<HstComponentInfo> componentInfos

allExceptions

protected List<HstComponentException> allExceptions
Constructor Detail

DefaultPageErrors

public DefaultPageErrors(List<KeyValue<HstComponentInfo,Collection<HstComponentException>>> componentExceptions)
Method Detail

getComponentInfos

public Collection<HstComponentInfo> getComponentInfos()
Description copied from interface: PageErrors
Returns collection of HstComponentInfo which causes exceptions.

Specified by:
getComponentInfos in interface PageErrors
Returns:

getComponentExceptions

public Collection<HstComponentException> getComponentExceptions(HstComponentInfo componentInfo)
Description copied from interface: PageErrors
Returns collection of HstComponentException caused by the specific component.

Specified by:
getComponentExceptions in interface PageErrors
Returns:

getAllComponentExceptions

public Collection<HstComponentException> getAllComponentExceptions()
Description copied from interface: PageErrors
Returns all component exceptions.

Specified by:
getAllComponentExceptions in interface PageErrors
Returns:


Copyright © 2008-2012 Hippo. All Rights Reserved.