public class TransformErrorToHtmlPlaceholder extends Object implements FragmentTransformationErrorHandler
Constructor and Description |
---|
TransformErrorToHtmlPlaceholder(PlaceholderUrlFactory placeholderUrlFactory) |
Modifier and Type | Method and Description |
---|---|
String |
handle(XMLEventReader erroneousFragmentReader,
Exception transformationException)
Handles fragment transformation problem.
|
public TransformErrorToHtmlPlaceholder(PlaceholderUrlFactory placeholderUrlFactory)
public String handle(XMLEventReader erroneousFragmentReader, Exception transformationException)
FragmentTransformationErrorHandler
handle
in interface FragmentTransformationErrorHandler
erroneousFragmentReader
- reader over fragment that caused a transformation problemtransformationException
- the exception thrown during transformation of the erroneous fragment.Copyright © 2003–2020 Atlassian. All rights reserved.