if (!this.isLast || passThrough) {
return false;
}
// Do not use internal-only pipeline error handler for external requests.
throw new ResourceNotFoundException("No pipeline matched request: " +
env.getURIPrefix() + env.getURI());
}
context.inform(this.processingPipeline, this.parameters, env.getObjectModel());
try {
if (this.errorHandlerHelper.isInternal()) {
context.getProcessingPipeline().setErrorHandler(
new SitemapErrorHandler(this.errorHandlerHelper, env, context));
}
if (invokeNodes(children, env, context)) {
return true;
} else if (!this.isLast || passThrough) {
return false;
}
throw new ResourceNotFoundException("No pipeline matched request: " +
env.getURIPrefix() + env.getURI());
} catch (ConnectionResetException e) {
// Will be reported by CocoonServlet, rethrowing
throw e;