public class PageErrorUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Collection<HstComponentInfo> |
getComponentInfosByCauseType(PageErrors pageErrors,
Class<? extends Throwable> causeType)
Returns all component infos which generated exceptions of the
causeType . |
static Collection<HstComponentException> |
getExceptionsByCauseType(PageErrors pageErrors,
Class<? extends Throwable> causeType)
Returns all exceptions which have the
causeType . |
static Collection<HstComponentException> |
getExceptionsByCauseType(PageErrors pageErrors,
HstComponentInfo componentInfo,
Class<? extends Throwable> causeType)
Returns all exceptions which have the
causeType and generated by a component of componentInfo . |
static Collection<HstComponentException> |
getExceptionsByComponentClassName(PageErrors pageErrors,
String className)
Returns exceptions generated by a component specified by the class name.
|
static Collection<HstComponentException> |
getExceptionsByComponentId(PageErrors pageErrors,
String id)
Returns exceptions generated by a component specified by the id.
|
static Collection<HstComponentException> |
getExceptionsByComponentName(PageErrors pageErrors,
String name)
Returns exceptions generated by a component specified by the name.
|
public static Collection<HstComponentException> getExceptionsByComponentClassName(PageErrors pageErrors, String className)
pageErrors
- className
- public static Collection<HstComponentException> getExceptionsByComponentName(PageErrors pageErrors, String name)
pageErrors
- name
- public static Collection<HstComponentException> getExceptionsByComponentId(PageErrors pageErrors, String id)
pageErrors
- id
- public static Collection<HstComponentInfo> getComponentInfosByCauseType(PageErrors pageErrors, Class<? extends Throwable> causeType)
causeType
.pageErrors
- causeType
- public static Collection<HstComponentException> getExceptionsByCauseType(PageErrors pageErrors, HstComponentInfo componentInfo, Class<? extends Throwable> causeType)
causeType
and generated by a component of componentInfo
.pageErrors
- causeType
- public static Collection<HstComponentException> getExceptionsByCauseType(PageErrors pageErrors, Class<? extends Throwable> causeType)
causeType
.pageErrors
- causeType
- Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.