public void fatalError(TransformerException exception) {}
});
} else if (onError == URIQueryParameters.ON_ERROR_WARNING) {
newPipe.setErrorListener(new ErrorListener() {
public void warning(TransformerException exception) throws TransformerException {
oldErrorListener.warning(exception);
}
public void error(TransformerException exception) throws TransformerException {
oldErrorListener.warning(exception);
XPathException supp = new XPathException("The document will be excluded from the collection");
supp.setLocator(exception.getLocator());