Class ThrowExceptionOnFragmentTransformationError

    • Constructor Detail

      • ThrowExceptionOnFragmentTransformationError

        public ThrowExceptionOnFragmentTransformationError()
    • Method Detail

      • handle

        public String handle​(XMLEventReader erroneousFragment,
                             Exception transformationException)
        Description copied from interface: FragmentTransformationErrorHandler
        Handles fragment transformation problem.
        Specified by:
        handle in interface FragmentTransformationErrorHandler
        Parameters:
        erroneousFragment - reader over fragment that caused a transformation problem
        transformationException - the exception thrown during transformation of the erroneous fragment.
        Returns:
        an alternate representation of the erroneous fragment in XML (that is more friendly to edit or display)