org.apache.cocoon.sitemap
Interface SitemapErrorHandler


public interface SitemapErrorHandler

Interface providing error handling capabilities to the pipeline

Since:
2.2
Version:
$Id: SitemapErrorHandler.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Method Summary
 boolean handleError(Exception e)
          Handle an error.
 ProcessingPipeline prepareErrorPipeline(Exception e)
          Build error handling pipeline.
 

Method Detail

handleError

public boolean handleError(Exception e)
                    throws Exception
Handle an error.

Returns:
true if error was handled.
Throws:
Exception

prepareErrorPipeline

public ProcessingPipeline prepareErrorPipeline(Exception e)
                                        throws Exception
Build error handling pipeline.

Returns:
error handling pipeline, or null if error was not handled.
Throws:
Exception


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.