public class FilterParameterizationNotSupportedException extends PipelinedComparatorException
Thrown to report a problem with XSLT filter parameterization. The JAXP standard supports pull-mode input filtering using the XMLFilter interface. Unfortunately this class does not allow access to the underlying Transformer object and thus the setting of parameters.
However, certain XSLT processor implementations do support a getTransformer() method. We will attempt to invoke this method using Java reflection where it is available. If an input filter parameter is used and the method is not present on the implementation this exception will be thrown.
XSLT processor implementations which support the getTransformer method and which should not throw this exception include:
XSLT implementations where this exception could be thrown include:
If there is any doubt as to which processor is being used when this exception arises the
FilterParameterizationNotSupportedException.getProcessorClass() method can
be used. The underlying throwable, available through
getCause() will usually be a
NoSuchMethodException and may provide further details.
|Constructor and Description|
Creates a new FilterParameterizationNotSupportedException.
|Modifier and Type||Method and Description|
Reports the implementation class used for the XSLT processor associated with an XMLFilter or TransformerHandler.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FilterParameterizationNotSupportedException(java.lang.String message, java.lang.Throwable t, java.lang.Class<?> processorClass)
message- The exception message String
t- A nested throwable should it have lead to or caused this exception
processorClass- the class of the XSLT processor implementation
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.