public class FilterProcessingSingleException extends FilterProcessingException
An exception indicating a problem when applying a single filter to a pipeline input or output. With a single filter it is possible to report its position relative to the other filters in the chain (its 'aggregate position') and also a representation of its name such as a systemId for a URL, a filename or a classname.
A mechanism is provided to allow parameters to be used to identify XsltExecutable based filters. If the filter declares a parameter with name 'pipelineProgressId' then its value will be reported as the filter source in exceptions.
|Constructor and Description|
Create a new FilterProcessingSingleException.
|Modifier and Type||Method and Description|
Reports the member of a filter aggregate which caused the problem.
Provides information about the origins of the filter, for example the file or URL from which the XSLT was loaded.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FilterProcessingSingleException(java.lang.String message, java.lang.Throwable t, PipelineIOIdentifier locationIdentifier, int filterPosition, java.lang.String filterSrc)
message- the exception error message
t- a nested cause
locationIdentifier- identifier of the filter chain
filterPosition- the filter position
filterSrc- a string representation of the filter
public java.lang.String getFilterSource()
public int getAggregatePosition()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.